Integer.Abs

Parent Previous Next

Integer.Abs.

Returns the absolute of a value - converting a negative value into a positive one.


Syntax.


 Abs() : Integer

 


Example:


 Integer i := (-5).Abs() + (2).Abs(); //Now i == 7;