Get asset amount value, eg. 100000000 = 1DCT
asset unit value
asset amount value according to precision
Decimal number formatter.
new formatter function
format raw value with asset symbol
raw value
formatter to use for numeral value
asset formatted string
Format asset unit value with asset symbol
asset unit value
formatter to use for numeral value
asset formatted string
Get asset unit value, eg. 100000000 = 1DCT
raw value
asset unit decimal value according to precision
Get raw value, eg. 1DCT = 100000000
asset unit decimal value
raw value
Generated using TypeDoc
Asset formatting/parsing defined by decimal precision and a symbol for/from string representation.