Convert float to string, taking the locale into account.
(val)
| 310 | return s.replace('<', '').replace('>', '') |
| 311 | |
| 312 | def str(val): |
| 313 | """Convert float to string, taking the locale into account.""" |
| 314 | return _format("%.12g", val) |
| 315 | |
| 316 | def delocalize(string): |
| 317 | "Parses a string as a normalized number according to the locale settings." |