decimals property

int decimals
getter/setter pair

Number of decimal places in the standard unit representation of the amount. For example, BTC has 8 decimals. Note that it is not possible to represent the value of some currency in atomic units that is not base 10.

Implementation

int decimals;