Important
|
Deprecated in 5.0. Please use [func-math-abs] instead. |
abs(number) ⇒ Float
-
Returns the absolute value of the number.
number |
Float |
Input value. |
Return
Absolute value of the input.
Example
>>> abs(12.3) 12.3 >>> abs(-0.307) 0.307