DecimalConstants
Instances of Decimal for frequently-used constants.
Syntax
object {
ZERO,
ONE,
TWO,
PI,
E,
NAN,
POSITIVE_INFINITY,
NEGATIVE_INFINITY
}
Values
ZERO: Decimalnew Decimal('0')
ONE: Decimalnew Decimal('1')
TWO: Decimalnew Decimal('2')
PI: DecimalE: DecimalNAN: Decimal- IEEE 754-2008 NaN
POSITIVE_INFINITY: Decimal- IEEE 754-2008 infinity
NEGATIVE_INFINITY: Decimal- IEEE 754-2008 negative infinity