Abs (number) Number
|number||Number||Number for which to return the absolute value|
|Function result||Number||Absolute value of number|
Abs returns the absolute (unsigned, positive) value of number. If number is negative, it is returned as positive. If number is positive, it is returned unchanged.
The following example returns the absolute value of 10.3, which is 10.3: