Pruss Manifesto - Long numbers

John J. Lee jjl at pobox.com
Tue Nov 11 00:58:31 CET 2003


"John Roth" <newsgroups at jhrothjr.com> writes:
[...]
> However, if you do, I'd be much more inclined to support
> the idea of writing them the way everyone else does:
> with commas and periods. That, at least, has the advantage
> of being familiar to people, and it can be supported with
> string notation: e"6,882.56" could be implicitly converted
> to a float by the compiler.

Not everyone does write numbers like that.  In Germany, IIUC, dots and
commas are reversed: 6.882,56.


> On balance, I doubt if I'd like to see that, though. It
> just doesn't seem useful enough.

Agreed.  Michele is right -- it's easy to do this with a string.


John




More information about the Python-list mailing list