Parses a string as a float according to the locale settings.
(string, func=float)
| 334 | return _localize(string, grouping, monetary) |
| 335 | |
| 336 | def atof(string, func=float): |
| 337 | "Parses a string as a float according to the locale settings." |
| 338 | return func(delocalize(string)) |
| 339 | |
| 340 | def atoi(string): |
| 341 | "Converts a string to an integer according to the locale settings." |