Manuals/calci/ROUNDUP

Revision as of 20:43, 24 October 2013 by MassBot1 (talk | contribs) (Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="4SpaceContent" align="left"><div class="ZEditBox" align=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax


Remarks


Examples


'''''''  ''''

Description


ROUNDUP


ROUNDUP (n, digit)

n   is a number that you want rounded down.

ndigit is the number of digits to which you want to round number.


Column1 Column2 Column3 Column4
Row1 67.8 6.83112 2245888.56
Row2 0 3 -4
Row3 68 6.832 2250000
Row4
Row6
'



·          n is rounded up to the specified number of decimal places if ndigit is greater than 0.

·          n is rounded up to the nearest integer if ndigit is 0.

·          n  is rounded up to the left of the decimal point if ndigit is less than 0.





ROUNDUP functions rounds a number up, away from 0.





1.       If n = 67.8 and ndigit =0, then
=ROUNDUP(67.8,0) gives you 68

2.       If n = 6.83112 and ndigit =3, then
=ROUNDUP(6.83112,3) gives you 6.832

3.       If n = 2245888.56 and ndigit = -4, then
=ROUNDUP(2245888.56,-4) gives you 2250000