Integer.ToReal

Parent Previous Next

Integer.ToReal.

Returns the integer value as a real.


Syntax.


 ToReal() : Real

 


Example:


 Integer i := 7;

 Real    r := i.ToReal(); //Now r == 7.0;