decimals property

int decimals
final

The number of digits to use after the decimal point when displaying this asset.

If 0, the asset is not divisible. If 1, the base unit of the asset is in tenths. If 2, the base unit of the asset is in hundredths, and so on.

This value must be between 0 and 19 (inclusive). Minimum value : 0 Maximum value : 19

Implementation

final int decimals;