rounding up with < .5 ?

Yates, Glen JAMES.G.YATES at saic.com
Thu Mar 14 17:03:01 EST 2002


If you always want to round up, why not just add 0.5 to the number you are
rounding?

-Glen

> I'd like to round 5.2 up to 6.  Neither round or statround 
> seem to allow me
> to do this. For both, using precision 0 gives me 5, -1 gives 
> me 10 and 1
> gives me 5.3.  (I do understand the difference between the two)



More information about the use-livecode mailing list