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...
 
Genjix (talk | contribs)
(No difference)

Revision as of 09:21, 21 March 2011

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.