Calling convention: FloatToStr(AFloatNumber: Double, ["ADecimalSeparator": String]): String
Description: Converts a floating-point value to text using the current locale or an optional decimal separator.
Parameters:
AFloatNumber = Number to convert.
ADecimalSeparator = Optional decimal separator. If more than one character is supplied, only the first character is used.
Returns: String: formatted number; an empty string if AFloatNumber is NULL.
Availability: Default.
Example:
Result := FloatToStr(12.5, ","); // "12,5"