Real.ToInteger

Parent Previous Next

Real.ToInteger.

Returns the real as an integer value.


Syntax.


 ToInteger() : Integer

 


Example:


 Integer i := (7.123).Round().ToInteger(); //Now i == 7;