Navigation: Function Reference > General Utility Functions > floatToStr()

floatToStr()

Top  Previous  Next

floatToStr( number: Extended ) : String;

 

Returns a string representation of number, which is a floating point.

 

Parameters

 

number

extended numeric value

 

var s: string;

var n: Double;

 

n := 100.53;

 

s := floatToStr( n );

 

//s is now equal to '100.53';