StrToFloat |
Top Previous Next |
Prototype
FloatOutput:= StrToFloat (strInput)
Description
Transforms the string passed as the parameter into real number.
Parameters
StrInput: string to be transformed into real number.
Returned value
FloatOutput: number obtained by conversion.
Notes
None.
Example
// Initialize a value Input:='1200.12';
// Convert the number Number:=StrToFloat(Input);
// Perform a calculation Result:= Number*3.14;
ApplicationLog(FloatToStr(Result)); |