Accessors
fractionalDigits
- get fractionalDigits(): number
Methods
toFloatApproximation
- toFloatApproximation(): number
Static fromAtomics
- fromAtomics(atomics: string, fractionalDigits: number): Decimal
-
Parameters
-
atomics: string
-
fractionalDigits: number
Static fromUserInput
- fromUserInput(input: string, fractionalDigits: number): Decimal
-
Parameters
-
input: string
-
fractionalDigits: number
A type for arbitrary precision, non-negative decimals.
Instances of this class are immutable.