2

So the following rounding would occur:

1.0  => 1
1.1  => 1.1
1.01 => 1
1.09 => 1.1

I would probably just look into the string if left to my own devices, but that feels dirty, is there a more elegant way?

DanH
  • 5,498
  • 4
  • 49
  • 72

0 Answers0