Difference between revisions of "Documentation/How Tos/Calc: ROUNDUP function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
m |
||
(9 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:ROUNDUP function}} |
+ | {{Documentation/CalcFunc MathematicalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_ROUNDDOWN_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_CEILING_function | ||
+ | }}__NOTOC__ | ||
== ROUNDUP == | == ROUNDUP == | ||
Line 8: | Line 13: | ||
: returns <tt>'''number'''</tt> rounded up (away from zero) to <tt>'''places'''</tt> decimal places. If <tt>'''places'''</tt> is omitted or zero, the function rounds up to an integer. If <tt>'''places'''</tt> is negative, the function rounds up to the next <tt>'''10'''</tt>, <tt>'''100'''</tt>, <tt>'''1000'''</tt>, etc. | : returns <tt>'''number'''</tt> rounded up (away from zero) to <tt>'''places'''</tt> decimal places. If <tt>'''places'''</tt> is omitted or zero, the function rounds up to an integer. If <tt>'''places'''</tt> is negative, the function rounds up to the next <tt>'''10'''</tt>, <tt>'''100'''</tt>, <tt>'''1000'''</tt>, etc. | ||
− | : This function rounds ''away from zero''. See | + | : This function rounds ''away from zero''. See [[Documentation/How_Tos/Calc: ROUNDDOWN function|ROUNDDOWN]] and [[Documentation/How_Tos/Calc: ROUND function|ROUND]] for alternatives. |
=== Example: === | === Example: === | ||
Line 26: | Line 31: | ||
: returns <tt>'''1000'''</tt> | : returns <tt>'''1000'''</tt> | ||
− | If these examples do not seem to work, see | + | If these examples do not seem to work, see {{menu|Tools|Options|OpenOffice Calc|Calculate}} to check the display precision. |
− | + | {{SeeAlso|EN| | |
− | + | * [[Documentation/How_Tos/Calc: INT function|INT]] | |
− | + | * [[Documentation/How_Tos/Calc: TRUNC function|TRUNC]] | |
− | + | * [[Documentation/How_Tos/Calc: ROUND function|ROUND]] | |
− | + | * [[Documentation/How_Tos/Calc: ROUNDDOWN function|ROUNDDOWN]] | |
− | + | * [[Documentation/How_Tos/Calc: CEILING function|CEILING]] | |
− | + | * [[Documentation/How_Tos/Calc: FLOOR function|FLOOR]] | |
− | + | * [[Documentation/How_Tos/Calc: EVEN function|EVEN]] | |
− | + | * [[Documentation/How_Tos/Calc: ODD function|ODD]] | |
− | + | * [[Documentation/How_Tos/Calc: MROUND function|MROUND]] | |
− | + | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] | |
− | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | |
− | + | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | |
+ | [[Category: Documentation/Reference/Calc/Mathematical functions]] |
Latest revision as of 14:42, 31 January 2024
- Mathematical FunctionsTrigonometric
- COSSINTANCOTACOSACOTASINATANATAN2DEGREESRADIANSPIHyperbolic
- COSHSINHTANHCOTHACOSHACOTHASINHATANHRounding and remainders
- TRUNCROUNDROUNDDOWNROUNDUPCEILINGFLOOREVENODDMROUNDINTQUOTIENTMODLogarithm/Powers
-