Scalar FunctionsMath Functions
abs
Returns the absolute value of a numeric expression, preserving the input type.
Syntax
abs(x)Parameters
Prop
Type
Returns: real
Examples
Example 1
print abs(- 3.14)| print_0 (real) |
|---|
| 3.14 |
Returns the absolute value of a numeric expression, preserving the input type.
abs(x)Prop
Type
Returns: real
print abs(- 3.14)| print_0 (real) |
|---|
| 3.14 |