abs


Purpose
Get the absolute value of an integer or real.
Synopsis
function abs(i:integer):integer
function abs(r:real):real
Arguments
Integer number for which to calculate the absolute value
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
exp, ln, log, sqrt.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.