Convert float to string, taking the locale into account.
(val)
| 300 | return s.replace('<', '').replace('>', '') |
| 301 | |
| 302 | def str(val): |
| 303 | """Convert float to string, taking the locale into account.""" |
| 304 | return _format("%.12g", val) |
| 305 | |
| 306 | def delocalize(string): |
| 307 | "Parses a string as a normalized number according to the locale settings." |