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