FloatToStr

Converts a floating-point value to its character string representation.

Syntax

FloatToStr(number)
number = number whose character string representation you want to retrieve

Remarks

If you want to convert an integer into a character string, see IntToStr.
If number is not a number, the function will return #VAL!.

Example

FloatToStr(3.1) = "3.1" (string made up of the character "3" followed by the character "." and then the character "1")

Classification

Strings