Pruss Manifesto - Long numbers
John Roth
newsgroups at jhrothjr.com
Tue Nov 11 07:02:23 EST 2003
"John J. Lee" <jjl at pobox.com> wrote in message
news:87he1bdbdk.fsf at pobox.com...
> "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.
Quite true. I didn't elaborate the suggestion to cover that
(and some other cases like spaces in the number) because
I don't think it really matters.
> > 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
John Roth
More information about the Python-list
mailing list