Purpose
Get the absolute
value of an integer or real.
Synopsis
function abs(i:integer):integer
function abs(r:real):real
Arguments
i
|
Integer number for which to calculate the absolute value
|
r
|
Real number for which to calculate the absolute value
|
Return value
Absolute value of an integer or real number.
Further information
This function returns the absolute value of an integer
or real number. The returned type corresponds to the type of the input.
Related topics
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.