decimalPlaces property
inidcates how many decimal places to show
e.g. 0=>1,2,3...
, 1=>1.0, 1.1, 1.2...
2=>1.00, 1.01, 1.02...
Implementation
final int decimalPlaces;
inidcates how many decimal places to show
e.g. 0=>1,2,3...
, 1=>1.0, 1.1, 1.2...
2=>1.00, 1.01, 1.02...
final int decimalPlaces;