Rounding

From Macros Wiki
Revision as of 15:06, 27 July 2010 by ConnerO (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

To round use a function such as:

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