This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
abs()
abs(number): float-
Returns the absolute value of the number.
number |
Float |
Input value. |
Return
Absolute value of the input.
>>> abs(12.3) 12.3 >>> abs(-0.307) 0.307