decimalPlaces property

int decimalPlaces
final

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;