Rounding

From Macros Wiki
Revision as of 16:31, 22 July 2010 by ConnerO (talk | contribs)
Jump to navigationJump to search

To round use a funstion such as:

round
round

if a1 < 0 then b1=int(a1-0.5)
if a1 > 0 then b1=int(a1+0.5)