Abs
Abs (Function)
Format
abs ( numeric_expression )
returns float_expression or integer_expression depending on the type of expression passed.
Description
Returns the absolute value of a numeric_expression.
Example
print abs(-45)
print abs(6.45)
will print
45
6.45
See Also
Abs, Acos, Asin, Atan, Ceil, Cos, Degrees, Exp, Float, Floor, Int, IsNumeric, Log, Log10, Radians, Rand, Round, Seed, Sin, Sqr, Tan