Returns the absolute value of a number.
|number||a number, or an expression that evaluates to a number|
Number, positive, with the same number of decimal places as number.
Use $absolute to ensure that a number is positive (for functions such as $sqrt, for example). $absolute returns the absolute (unsigned) value of a number. The absolute value is always treated as positive.
Certain functions – for example, $sqrt – accept only positive arguments. You can use $absolute to ensure that all arguments to these functions are positive.
evaluates as if it were: