# Gavin Andresen # 2011-03-12 15:24:51 # https://bitcointalk.org/index.php?topic=4086.msg64496#msg64496 Is there a PHP implementation that does not use double-precision floating point? @p{brk} After doing a little googling I couldn't figure out the answer to that. I will be MUCH more sympathetic to changing the JSON-RPC api if there is. @p{par} And mizerydearia: re: the witcoin issue: You say: @p{brk} "I see the transaction as 0.94 However, @s{(link)} retrieves the data as 0.93999999999999994671" @p{par} So why when you display that value are you truncating it instead of rounding it to 8 decimal places? @p{brk} For example: @p{brk} @s{quotedtext} @s{quotedtext} @p{brk} ... or to convert to an integer-number-of-base-unit: @p{brk} @s{quotedtext} @s{quotedtext} @p{brk} All of that assume that your php support double-precision floating point, which brings me back to my question: are there any php implementations that do not?