Gridcoin-research: Add dividers into wallet for big numbers

Created on 30 Mar 2018  路  10Comments  路  Source: gridcoin-community/Gridcoin-Research

Most helpful comment

I suggest space as a country-neutral divider.

All 10 comments

Bitcoin has done that already, so we have a good startingpoint https://github.com/bitcoin/bitcoin/pull/4167

I suggest space as a country-neutral divider.

https://www.bipm.org/utils/en/pdf/Resol22CGPM-EN.pdf
Resolution 10
"reaffirms that 聯Numbers may be divided in groups of three in order to facilitate reading; neither dots
nor commas are ever inserted in the spaces between groups聰, as stated in Resolution 7 of the
9th CGPM, 1948."

Bitcoin uses space as dividers. I tested a cherry pick but it looks a bit messy, doesn't it?
screenshot from 2018-05-27 21-34-49

It does look a little messy. But most users will only have 0 - 1 spaces before the decimal point.

Not many people have over a million coins.

still better than the current system imo, although instead of all these empty spaces on the transactions, it should either spell out the 0s or just move it closer to the GRC like it does now. i prefer the latter.

edit: maybe make the space dividers on the right optional or allow anything below X digits to be hidden and let users decide for themselves. like "what is the smallest unit you want displayed" with the options "grc cent, mgrc cent, 碌grc cent (halfords)"

edit2: it should always round down though.

Why not to use comma to separate thousands? Or make that these fields will use number format from system settings?

some countries use commas and periods the other way around, spaces are the least confusing option universally speaking. maybe using system settings would be harder to implement than simply adding a few spaces. even if that isnt true, i'd still prefer a universal appearance.

bitcoin has reverted the thousands separators after decimal point.So only if you have >1000grc you will see the spaces https://github.com/bitcoin/bitcoin/pull/4867

edit2: it should always round down though.

Why? >5 round up.

maybe make the space dividers on the right optional

IMhO spaces after decimal point are useless. At least for current coin price.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iFoggz picture iFoggz  路  4Comments

Lenni picture Lenni  路  3Comments

Erkan-Yilmaz picture Erkan-Yilmaz  路  5Comments

Penumbra69 picture Penumbra69  路  6Comments

Tahvok picture Tahvok  路  4Comments