Documentation/How Tos/Calc: ABS function
From Apache OpenOffice Wiki
CALC FUNCTIONS
- Mathematical FunctionsTrigonometric
- CosSinTanCotAcosAcotAsinAtanAtan2DegreesRadiansPiHyperbolic
- CoshSinhTanhCothAcoshAcothAsinhAtanhRounding and remainders
- TruncRoundRounddownRoundupCeilingFloorEvenOddMroundIntQuotientModLogarithm/Powers
- ExpPowerLogLnLog10Bessel functions
- BesseliBesseljBesselkBesselyMiscellaneous
- AbsCombinCombinaConvertConvert AddCountblankCountifDeltaErfErfcFactFactdoubleGcdGcd AddGestepIsevenIsoddLcmLcm AddMultinomialProductRandRandbetweenSeriessumSignSqrtSqrtpiSubtotal
Contents
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.
-