Last updated
Last updated
The function removes existing signs and returns the absolute, positive value of a number.
It happens rather rarely, but for certain calculations, it may be necessary to continue calculating with the positive value of a possibly negative result. In such cases the function saves querying the value and, if necessary, changing the sign by multiplication.
abs(number)
number
Result: 9.3
, which returns the signum of a number.
To return the absolute value of a number