FloatToStr
Previous  Top  Next

Prototype

StrOutput:= FloatToStr(floatInput)

Description

It transforms the real number into string passed for parameter.

Parameters

FloatInput:
real numeric value to be transformed into string.

Returned value

StrOutput:
number converted into string.

Notes

The FloatInput parameter has to be a real number type (Float), namely, between ±2.9*10-38 and ±1.7*10+38.

Example


//It demands a value
Input:='1200.12';

//it converts the number
Number:=StrToFloat(Input);

//It makes a calculation
Result:= Number*3.14;

ApplicationLog(_CurrentAgent,FloatToStr(Result));