qt: Format "Balance" amount using commas #3887

issue CydeWeys opened this issue on March 16, 2014
  1. CydeWeys commented at 9:54 PM on March 16, 2014: none

    I have my client configured to display amounts in mBTC. The Balance on the Overview page is hard to parse because it doesn't format the amount using commas for every three positions, as is standard for maximally-human-readable display of large numbers. This issue also applies to the uBTC display option and possibly to the BTC display option, but I don't have enough in my wallet to test that one. Note how unhelpful this is:

    1234567.89000 mBTC

    There is a wiggle here in that some cultures use a period as a delimiter instead of a comma, but not in English, and I see that there are different locale files for other languages, so there's probably an i18n solution available.

  2. laanwj added the label GUI on Mar 18, 2014
  3. laanwj added the label Improvement on Mar 18, 2014
  4. laanwj referenced this in commit a188449a5e on Mar 18, 2014
  5. laanwj referenced this in commit 1d8a61e7aa on Mar 18, 2014
  6. laanwj referenced this in commit ad9128e547 on Mar 18, 2014
  7. laanwj referenced this in commit 806efc4feb on Mar 19, 2014
  8. laanwj referenced this in commit 19e7873a1d on Mar 19, 2014
  9. laanwj referenced this in commit d4b96899af on Mar 19, 2014
  10. laanwj referenced this in commit c98ac2a613 on Mar 20, 2014
  11. laanwj referenced this in commit f9f5314905 on Mar 20, 2014
  12. laanwj referenced this in commit e5f1456d2e on Mar 20, 2014
  13. laanwj referenced this in commit 0f470a9779 on Mar 20, 2014
  14. laanwj referenced this in commit db0b8f3a2e on Mar 21, 2014
  15. leofidus commented at 12:38 AM on March 22, 2014: none

    I would be in favour of using a thin space as a seperator. This is less confusing for people from regions where commas are used as decimal seperator instead of thousand seperator.

  16. laanwj commented at 6:54 AM on March 22, 2014: member

    @leofidus have you seen #3893? The idea is to simply use the number formatting (group and decimal seperator) of the user locale. Let's not reinvent any wheels.

  17. laanwj closed this on Jul 9, 2014

  18. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 18:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me