Difference between revisions of "Documentation/How Tos/Calc: ABS function"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 112: Line 112:
 
: returns <tt>'''0'''</tt>.
 
: returns <tt>'''0'''</tt>.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: SIGN function|SIGN]]'''
 
* [[Documentation/How_Tos/Calc: SIGN function|SIGN]]'''
  

Revision as of 19:09, 16 July 2018


ABS

Returns the absolute value of a number.

Syntax:

ABS(number)

number is the number whose absolute value is to be calculated. The absolute value of a number is its value without the +/- sign.

Example:

ABS(-56)

returns 56.

ABS(12.3)

returns 12.3.

ABS(0)

returns 0.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_ABS_function&oldid=243297"
Views
Personal tools
Navigation
Tools