Full-precision display and entry for JSON and GUI #79

pull gavinandresen wants to merge 5 commits into bitcoin:master from gavinandresen:rounding changing 2 files +34 −24
  1. gavinandresen commented at 9:33 pm on February 23, 2011: contributor

    This modifies FormatMoney to display full-precision values (with trailing zeroes trimmed correctly– e.g. 0 is 0.00 but 0.00010000 displays as 0.0001).

    And ParseMoney allows entry of full-precision values.

    And JSON’s AmountFromValue doesn’t round to two places, so you can send/move full-precision values.

  2. Use ValueFromAmount consistently 83b9f42796
  3. Do not round input amounts; allow RPC full precision. 789259d2e7
  4. FormatMoney: show full-precision values 87504abb07
  5. ParseMoney: allow full precision b0ad55a08a
  6. gavinandresen commented at 10:00 pm on February 23, 2011: contributor
  7. Avoid sprintf decimal-point localization 8a9cad44a5
  8. rdponticelli referenced this in commit 81dc171604 on Nov 26, 2014
  9. zathras-crypto referenced this in commit 62ff59c601 on Jun 11, 2015
  10. destenson referenced this in commit 23e8526322 on Jun 26, 2016
  11. classesjack referenced this in commit 7cfe3fcd6b on Jan 2, 2018
  12. cryptapus referenced this in commit 751b8d50c5 on Jan 12, 2018
  13. CryptAxe referenced this in commit 7c30b6643f on Mar 11, 2018
  14. attilaaf referenced this in commit 6567f38348 on Sep 20, 2019
  15. laanwj referenced this in commit 7fca189a2a on Feb 22, 2021
  16. fanquake locked this on Mar 5, 2021
  17. DrahtBot added the label CI failed on Apr 2, 2023
  18. DrahtBot removed the label CI failed on Apr 2, 2023
  19. DrahtBot added the label CI failed on Apr 2, 2023
  20. DrahtBot removed the label CI failed on Apr 3, 2023
  21. DrahtBot added the label CI failed on Apr 5, 2023
  22. MarcoFalke removed the label CI failed on Apr 5, 2023
  23. DrahtBot added the label CI failed on Apr 11, 2023
  24. MarcoFalke removed the label CI failed on Apr 11, 2023


gavinandresen


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: 2024-07-05 19:13 UTC

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