Text.parse_float
parse_floatlocale
Group: Conversions
Aliases: float from text
, to_float
Documentation
Parses a textual representation of a float into a float number, returning a Number_Parse_Error
if the text does not represent a valid float.
Arguments
locale
: The locale that specifies the format to use when parsing
Examples
Parse the text "7.6" into a float number.
"7.6".parse_float