Syntax
=ABS(number)Arguments
| Argument | Required | Description |
|---|---|---|
number | Required | The number |
How to use ABS
ABS takes 1 required argument. Type =ABS( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=ABS(-4)Result =ABS(2.5)Result Related math functions
- ACOSReturns the arccosine of a number, in radians.
- ACOSHReturns the inverse hyperbolic cosine of a number.
- ACOTReturns the arccotangent of a number, in radians from 0 to pi.
- ACOTHReturns the inverse hyperbolic cotangent of a number.
- ADDReturns the sum of two numbers, like the + operator.
- AGGREGATEReturns a sum, average, count, percentile and more of a range, with options to skip hidden rows, errors and other subtotals.
- ARABICConverts a Roman numeral written as text to a number.
- ASINReturns the arcsine of a number, in radians.
- ASINHReturns the inverse hyperbolic sine of a number.