Methods
Static beautify
- beautify(input: Decimal, fixed?: number): string
Parameters
input: Decimal
Optional fixed: number
Returns string
Static fromNumber
- fromNumber(input: number, shift?: number): Decimal
Parameters
input: number
shift: number = 0
Returns Decimal
Static fromString
- fromString(input: string, shift?: number): Decimal
Parameters
input: string
shift: number = 0
Returns Decimal
Static fromU64
- fromU64(input: u64, shift?: number): Decimal
Parameters
input: u64
shift: number = 0
Returns Decimal
Static toU64
- toU64(input: Decimal, shift?: number): u64
Parameters
input: Decimal
shift: number = 0
Returns u64