Guido van Rossum <guido at python.org> writes: > Here's yet another idea (which probably has flaws as well): instead of > substituting the locale's decimal separator, rewrite strings like > "3.14" as "314e-2" and rewrite strings like "3.14e5" as "314e3", then > pass to strtod(), which assigns the same meaning to such strings in > all locales. Unfortunately, that doesn't work for sprintf, for which you still need to replace the radixchar. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4