FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | FIELD | ACTION | DETAIL: IMPORT | CONSTANT | FIELD | ACTION |
< | Less-than comparison |
<= | Less-than or equal comparison |
= | Equal comparison |
!= | Not equal comparison |
>= | Greater-than or equal comparison |
> | Greater-than comparison |
+ | Unary decimal identity |
- | Unary decimal additive inverse |
+ | Decimal addition |
- | Decimal subtraction |
* | Decimal multiplication |
/ | Decimal division |
Constant summary | |
---|---|
decimal | E Euler's constant, e (2.71828...). |
decimal | EPSILON The smallest x where (1+x) > 1. |
decimal | INFINITY IEEE 754 positive infinity. |
decimal | MAX The largest positive decimal number (~10385). |
decimal | MIN The smallest positive decimal number (10-398). |
decimal | NAN IEEE 754 Not-a-Number. |
decimal | PI The ratio of a circle's circumference to its diameter (3.14159265...). |
Action summary | |
---|---|
boolean | static canParse(string s) Check if the string argument can be successfully parsed as a decimal. |
decimal | static max(decimal a, decimal b) Return the larger of two decimals. |
decimal | static min(decimal a, decimal b) Return the smaller of two decimals. |
decimal | static parse(string s) Parse a string to a decimal. |
decimal |
abs() The absolute value of this decimal. |
decimal |
acos() Calculate the inverse cosine of this number in radians. |
decimal |
acosh() Calculate the inverse hyperbolic cosine of this number. |
decimal |
asin() Calculate the inverse sine of this number in radians. |
decimal |
asinh() Calculate the inverse hyperbolic sine of this number. |
decimal |
atan() Calculate the inverse tangent of this number. |
decimal |
atan2(decimal d) Calculate the two-parameter inverse tangent of this number and the argument. |
decimal |
atanh() Calculate the inverse hyperbolic tangent of this number. |
boolean |
bitEquals(decimal other) Bitwise comparison of two decimals. |
decimal |
cbrt() Return the cube root of this decimal. |
integer |
ceil() Return the smallest possible integer that is greater than or equal to this decimal. |
decimal |
cos() Calculate the cosine of this decimal in radians. |
decimal |
cosh() Calculate the hyperbolic cosine of this decimal. |
decimal |
erf() Calculate the error function of this decimal. |
decimal |
exp() Raise e to the power of this decimal. |
integer |
exponent() Return the exponent of this decimal. |
integer |
floor() Return the largest possible integer that is less than or equal to this decimal. |
decimal |
fmod(decimal y) Calculate x mod y where x is this decimal. |
string |
formatFixed(integer dp) Render this decimal to a string with a fixed number of decimal places. |
string |
formatScientific(integer sf) Render this decimal in scientific notation with the given number of significant figures. |
decimal |
fractionalPart() Return the fractional component of this decimal. |
decimal |
gammal() Calculate the logarithm of the gamma function. |
integer |
hash() Get an integer hash representation of the underlying object. |
integer |
ilogb() Calculate the integer binary logarithm of this decimal. |
integer |
integralPart() Return the integer component of this decimal. |
boolean |
isFinite() Check if this decimal is finite. |
boolean |
isInfinite() Check if this decimal is infinite. |
boolean |
isNaN() Check if this decimal is Not-a-Number. |
decimal |
ln() Calculate the natural logarithm of this decimal. |
decimal |
log10() Calculate the logarithm of this decimal in base 10. |
decimal |
mantissa() Return the mantissa of this decimal. |
decimal |
nextAfter(decimal towards) Return the next distinct decimal number after this decimal in the direction of the argument. |
decimal |
pow(decimal y) Calculate this decimal raised to the power of another decimal. |
decimal |
rand() Generate a random value between 0.0 and this decimal. |
integer |
round() Return the nearest integer to this decimal. |
decimal |
scalbn(integer n) Scale this decimal by a power of 10. |
decimal |
sin() Calculate the sine of this decimal in radians. |
decimal |
sinh() Computes the hyperbolic sine of this decimal in radians. |
decimal |
sqrt() Calculate the square-root of this decimal. |
decimal |
tan() Computes the tangent of this decimal in radians. |
decimal |
tanh() Computes the hyperbolic tangent of this decimal in radians. |
float |
toFloat() Convert this decimal to a float. |
string |
toString() Convert this decimal to a string. |
Constant detail |
---|
decimal EEuler's constant, e (2.71828...).
decimal EPSILONThe smallest x where (1+x) > 1.
decimal INFINITYIEEE 754 positive infinity.
decimal MAXThe largest positive decimal number (~10385).
decimal MINThe smallest positive decimal number (10-398).
decimal NANIEEE 754 Not-a-Number.
decimal PIThe ratio of a circle's circumference to its diameter (3.14159265...).
Action detail |
---|
boolean static canParse(string s)Check if the string argument can be successfully parsed as a decimal.
decimal static max(decimal a, decimal b)Return the larger of two decimals.
decimal static min(decimal a, decimal b)Return the smaller of two decimals.
decimal static parse(string s)Parse a string to a decimal.
decimal abs()The absolute value of this decimal.
decimal acos()Calculate the inverse cosine of this number in radians.
decimal acosh()Calculate the inverse hyperbolic cosine of this number.
decimal asin()Calculate the inverse sine of this number in radians.
decimal asinh()Calculate the inverse hyperbolic sine of this number.
decimal atan()Calculate the inverse tangent of this number.
decimal atan2(decimal d)Calculate the two-parameter inverse tangent of this number and the argument.
decimal atanh()Calculate the inverse hyperbolic tangent of this number.
boolean bitEquals(decimal other)Bitwise comparison of two decimals.
decimal cbrt()Return the cube root of this decimal.
integer ceil()Return the smallest possible integer that is greater than or equal to this decimal.
decimal cos()Calculate the cosine of this decimal in radians.
decimal cosh()Calculate the hyperbolic cosine of this decimal.
decimal erf()Calculate the error function of this decimal.
decimal exp()Raise e to the power of this decimal.
integer exponent()Return the exponent of this decimal.
integer floor()Return the largest possible integer that is less than or equal to this decimal.
decimal fmod(decimal y)Calculate x mod y where x is this decimal.
string formatFixed(integer dp)Render this decimal to a string with a fixed number of decimal places.
string formatScientific(integer sf)Render this decimal in scientific notation with the given number of significant figures.
decimal fractionalPart()Return the fractional component of this decimal.
decimal gammal()Calculate the logarithm of the gamma function.
integer hash()Get an integer hash representation of the underlying object.
integer ilogb()Calculate the integer binary logarithm of this decimal.
integer integralPart()Return the integer component of this decimal.
boolean isFinite()Check if this decimal is finite.
boolean isInfinite()Check if this decimal is infinite.
boolean isNaN()Check if this decimal is Not-a-Number.
decimal ln()Calculate the natural logarithm of this decimal.
decimal log10()Calculate the logarithm of this decimal in base 10.
decimal mantissa()Return the mantissa of this decimal.
decimal nextAfter(decimal towards)Return the next distinct decimal number after this decimal in the direction of the argument.
decimal pow(decimal y)Calculate this decimal raised to the power of another decimal.
decimal rand()Generate a random value between 0.0 and this decimal.
integer round()Return the nearest integer to this decimal.
decimal scalbn(integer n)Scale this decimal by a power of 10.
decimal sin()Calculate the sine of this decimal in radians.
decimal sinh()Computes the hyperbolic sine of this decimal in radians.
decimal sqrt()Calculate the square-root of this decimal.
decimal tan()Computes the tangent of this decimal in radians.
decimal tanh()Computes the hyperbolic tangent of this decimal in radians.
float toFloat()Convert this decimal to a float.
string toString()Convert this decimal to a string.
FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | FIELD | ACTION | DETAIL: IMPORT | CONSTANT | FIELD | ACTION |