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?
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?