Author

Topic: sendmany float precision issue in php (Read 1128 times)

legendary
Activity: 1498
Merit: 1000
August 31, 2012, 07:39:00 PM
#5
I'm pretty sure Bitcoin accepts scientific notation.

really, cause on a 0.6.3 bitcoind it is throwing -1 error code
administrator
Activity: 5222
Merit: 13032
August 31, 2012, 07:23:17 PM
#3
I'm pretty sure Bitcoin accepts scientific notation.
legendary
Activity: 2058
Merit: 1431
August 31, 2012, 06:58:02 PM
#2
is there a decimal (or similar arbitrary precision) class in php?
legendary
Activity: 1498
Merit: 1000
August 31, 2012, 06:45:27 PM
#1
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
Jump to: