Constructors
Methods
StaticformatUnit
formatUnit(value: undefined | string | number, decimals: number): string Parameters
- value: undefined | string | number
- decimals: number
Returns string
StaticformatNumber
formatNumber(value: undefined | string | number): string Parameters
- value: undefined | string | number
Returns string
StaticformatGas
formatGas(value: undefined | string | number): string Parameters
- value: undefined | string | number
Returns string
StaticformatCFX
formatCFX(value: undefined | string | number): string Parameters
- value: undefined | string | number
Returns string
StaticformatTimestamp
formatTimestamp(value: undefined | string | number): string Parameters
- value: undefined | string | number
Returns string
StaticformatDate
formatDate( value: undefined | string | number, style?: "full" | "date" | "unix",): string Parameters
- value: undefined | string | number
- style: "full" | "date" | "unix" = "full"
Returns string