Good day, I would like to round numbers up regardless of lesser value. For example 7.2 rounded would equal 8. 7.8 would also = 8.
I can't currently see a way of doing this in scripts. Would anyone have an answer?
Many thanks
Steve
Good day, I would like to round numbers up regardless of lesser value. For example 7.2 rounded would equal 8. 7.8 would also = 8.
I can't currently see a way of doing this in scripts. Would anyone have an answer?
Many thanks
Steve
Maybe you could add 0.5 to the value and then round? Then, if V < 0.5 it will always be rounded up. If V > 0.5, it will always be rounded down.
We also have a “Floor()” function which rounds down - but not a “Ceiling()” function. You could put your result in c1 and then add 1 to it
eg
c1 = {your result};
Round(Floor(c1) + 1)