Numeric literal syntax
bearophileHUGS at lycos.com
bearophileHUGS at lycos.com
Wed Sep 3 11:37:07 EDT 2008
Ben Finney:
> … for numbers with many digits the digits may be divided into
> groups of three by a thin space, in order to facilitate reading.
> Neither dots nor commas are inserted in the spaces between groups
> of three.
> <URL:http://www.bipm.org/en/si/si_brochure/chapter5/5-3-2.html#5-3-4>
> This isn't binding upon Python, of course. However, it should be a
> consideration in choosing what separator convention to follow.
It confirms what I say :-) A thin space doesn't break the gestalt of
the number, while a normal space, especially if you use a not
proportional font with good readability (and characters well spaced)
breaks the single gestalt of the number.
Bye,
bearophile
More information about the Python-list
mailing list