Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: gweedo on August 31, 2012, 10:45:27 PM



Title: sendmany float precision issue in php
Post by: gweedo on August 31, 2012, 10:45:27 PM
I am trying to setup sendmany command and I can't get .00000100 to a regular float cause it returns the scientific notation, anyone know to force a full float number in php. I can't use number_format since that returns a string and will not work in sendmany.

EDIT : FIXED


Title: Re: sendmany float precision issue in php
Post by: grue on August 31, 2012, 10:58:02 PM
is there a decimal (or similar arbitrary precision) class in php?


Title: Re: sendmany float precision issue in php
Post by: theymos on August 31, 2012, 11:23:17 PM
I'm pretty sure Bitcoin accepts scientific notation.