digits property

int digits
final

Length of the fraction part of a currency

  • for 134.23 it will be 2
  • for 165 it will be 0
  • for 111.2 it will be 1

Implementation

final int digits;