Bitcoin Forum
December 14, 2024, 08:40:13 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: sendmany float precision issue in php  (Read 1137 times)
gweedo (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
August 31, 2012, 10:45:27 PM
Last edit: September 01, 2012, 12:14:59 AM by gweedo
 #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
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1462



View Profile
August 31, 2012, 10:58:02 PM
 #2

is there a decimal (or similar arbitrary precision) class in php?

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5404
Merit: 13498


View Profile
August 31, 2012, 11:23:17 PM
 #3

I'm pretty sure Bitcoin accepts scientific notation.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!