StaticEStaticE_StaticHALF_StaticMAXStaticMINStaticNEGATIVE_StaticONEStaticONE_StaticONE_StaticPIStaticQUARTER_StaticTENStaticTWOStaticTWO_StaticZEROStaticnewReturns the smallest integer greater than or equal to a number.
Returns the largest integer less than or equal to a number.
Returns a new Decimal representing the fractional portion of the number.
Returns true if the decimal is negative.
Returns true if the decimal is positive.
Returns true if this Decimal number is equivalent to zero.
Strips any trailing zero’s from a Decimal and converts -0 to 0.
Returns a new Decimal number with no fractional portion (i.e. an
integer). Rounding currently follows “Bankers Rounding” rules. e.g.
6.5 -> 6, 7.5 -> 8
Returns a new Decimal integral with no fractional portion. This is a true truncation whereby no rounding is performed.
Performs the unary - operation.
Returns true if the value of this Decimal is greater than the value of
x, otherwise returns false.
Returns true if the value of this Decimal is greater than or equal to
the value of x, otherwise returns false.
Returns true if the value of this Decimal equals the value of x,
otherwise returns false.
Returns true if the value of this Decimal is less than the value of
x, otherwise returns false.
Returns true if the value of this Decimal is less than or equal to the
value of x, otherwise returns false.
Compares the values of two Decimals.
Returns -1 if the value of this Decimal is less than the value of
x.
Returns 1 if the value of this Decimal is greater than the value of
x.
Returns 0 if the value of this Decimal equals the value of x.
Computes the sine of a number (in radians)
Computes the cosine of a number (in radians)
Computes the tangent of a number (in radians). Panics upon overflow or upon approaching a limit.
The square root of a Decimal. Uses a standard Babylonian method.
Raise self to the given Decimal exponent: xy. If exp is not
whole then the approximation ey*ln(x) is used.
Calculates the natural logarithm for a Decimal calculated using Taylor’s series.
Calculates the base 10 logarithm of a specified Decimal number.
The estimated exponential function, ex. Stops calculating when it is
within tolerance of roughly 0.0000002.
The estimated exponential function, ex using the tolerance
provided as a hint as to when to stop calculating. A larger
tolerance will cause the number to stop calculating sooner at the
potential cost of a slightly less accurate result.
The Cumulative distribution function for a Normal distribution
The Probability density function for a Normal distribution.
Computes the absolute value.