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

From Bitcoin Wiki
Jump to: navigation, search
(You're making it more complicated for no good reason...)
(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.