M
mgtyper
How would I Round up to 5 as in
10.1 to 15
9.9 to 10
105.3 to 110
123.6 to 12
10.1 to 15
9.9 to 10
105.3 to 110
123.6 to 12
How would I Round up to 5 as in
10.1 to 15
9.9 to 10
105.3 to 110
123.6 to 125
Both these answers will work in the positive domain.
Mine will round -101 to -105
Ron's will round -101 to -100
Take your pick depending on how you want to handle negatives.