I have 2 numbers:
0.03456194
2.0345
I need to round it out with the
0.001 range. For example:
0.03456194 would 0.03400000 because the range is 0.001 in 0.001 , so the maximum would be > 0.034 , because if it were 0.034 + 0.001 it would be 0.035 and it would go from the normal value.
In the second number
2.0345 would be 2.034 as the range is 0.001
I tried to use some functions like ceil()
, floor()
, round()
, but none worked.