digits property
Length of the fraction part of a currency
- for
134.23
it will be2
- for
165
it will be0
- for
111.2
it will be1
Implementation
final int digits;
Length of the fraction part of a currency
134.23
it will be 2
165
it will be 0
111.2
it will be 1
final int digits;