Talk:API reference (JSON-RPC): Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Gavinandresen (talk | contribs)
You're making it more complicated for no good reason...
 
Taras (talk | contribs)
m Unsigned comment
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Does the PHP section's gmp/bcmath discussion better fit on the proper money handling page?
Does the PHP section's gmp/bcmath discussion better fit on the proper money handling page?


I also disagree with the statement "you MUST use gmp/bcmath" -- as long as your php implementation uses 64-bit floats (and all that I know of do), doing bitcoin calculations with them will work just fine, as long as you are careful to round to 8 decimal places when displaying values to the user or storing final amounts in a database.
I also disagree with the statement "you MUST use gmp/bcmath" -- as long as your php implementation uses 64-bit floats (and all that I know of do), doing bitcoin calculations with them will work just fine, as long as you are careful to round to 8 decimal places when displaying values to the user or storing final amounts in a database. {{unsigned|Gavinandresen|14:50, 15 March 2011‎}}

Latest revision as of 23:54, 14 August 2014

Does the PHP section's gmp/bcmath discussion better fit on the proper money handling page?

I also disagree with the statement "you MUST use gmp/bcmath" -- as long as your php implementation uses 64-bit floats (and all that I know of do), doing bitcoin calculations with them will work just fine, as long as you are careful to round to 8 decimal places when displaying values to the user or storing final amounts in a database. — Preceding unsigned comment added by Gavinandresen (talkcontribs) at 14:50, 15 March 2011‎