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
abs(number): floatReturns the absolute value of the number.
number |
Float |
Input value. |
Absolute value of the input.
>>> abs(12.3) 12.3 >>> abs(-0.307) 0.307