Thousands separator option(s)

447 views
Skip to first unread message

Jesus

unread,
Aug 9, 2009, 12:49:36 AM8/9/09
to speedcrunch
For ease of reading, numbers with many digits before or after the
decimal separator may be divided into groups using a delimiter.

There are several several common conventions for which character to
use for the digit group separator and for the traditional conventions
of grouping in each country.

See http://en.wikipedia.org/wiki/Decimal_separator

Therefore the space is recommended in the SI/ISO 31-0 standard.

I would appreciate include this option in the results.



Helder Correia

unread,
Aug 10, 2009, 7:51:29 AM8/10/09
to speed...@googlegroups.com
Hi

I see your point, but up to now I still see digit grouping + decimal
separator as somewhat colliding subjects, as we can see here:

http://code.google.com/p/speedcrunch/issues/detail?id=58
http://code.google.com/p/speedcrunch/issues/detail?id=184

If we make the parser interpret space as decimal separator, how can we
achieve digit grouping? Sure, we can choose the ` character, but then
people will demand a space as well...

Frederic Da Vitoria

unread,
Aug 10, 2009, 10:19:49 AM8/10/09
to speed...@googlegroups.com
Helder,

I believe you misunderstood Jesus. I think he asked for a decimal
grouping of results. Something like this:
Fixed decimal: 123456789.9876
Grouped fixed decimal: 123 456 789.9876

Note that many Excel and OpenOffice don't group decimal digits. I
suppose there is a typographic rule behind this.

I think Jesus was suggesting using space as a universal thousands
separator, rather than using the system-defined thousands separator,
and I agree with him.

2009/8/10 Helder Correia <helder.pere...@gmail.com>:


--
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org

Helder Correia

unread,
Aug 10, 2009, 3:51:51 PM8/10/09
to speed...@googlegroups.com
On Mon, Aug 10, 2009 at 16:19, Frederic Da Vitoria<davi...@gmail.com> wrote:
> I believe you misunderstood Jesus. I think he asked for a decimal
> grouping of results. Something like this:
> Fixed decimal: 123456789.9876
> Grouped fixed decimal: 123 456 789.9876

So right, I was completely tricked by the Wikipedia link, my bad.
Should have noticed the message subject.

> I think Jesus was suggesting using space as a universal thousands
> separator, rather than using the system-defined thousands separator,
> and I agree with him.

I also agree, but then this is a reopening of the famous issue 58 :)
Although using different color tones for each group of 3 digits would
also be worth experimenting with.

Reply all
Reply to author
Forward
0 new messages