<p>I have problem with bitcoind with the command sendfrom </p>

<p>Example : </p>

<p>./bitcoind sendfrom test1  1.99990005</p>

<p>The value when command "listtransaction test1" is 1.99990004.</p>

<p>I'm using bitcoind in ubuntu 12:04 locale en_US.UTF-8</p>

<p>Thanks for help.</p>

CC BY-SA 3.0
2014-02-26T18:55:02.797Z
What version of bitcoin?
laanwj
CC BY-SA 3.0
2014-02-26T20:10:01.227Z
My version is 0.8.6
user13918
CC BY-SA 3.0
2014-02-27T07:17:26.193Z
I've tried this on testnet and I've been unable to reproduce this with 0.8.6. 1.99990005 is always parsed as 1.99990005. What CPU architecture? Have you compiled from source or using the precompiled executable?
laanwj
CC BY-SA 3.0
2014-02-28T08:29:41.550Z
To avoid ambiguity by using doubles and floating point numbers, IMO we should switch to decimal strings instead of numbers for monetary amounts in the RPC interface. See https://github.com/bitcoin/bitcoin/pull/3759
laanwj
<bitcoind>
bitcoind sendfrom round amount error
user13918
# bitcoind sendfrom round amount error

(Asked by: username_0 on 2014-02-26)

I have problem with bitcoind with the command sendfrom

Example :

./bitcoind sendfrom test1 1.99990005

The value when command "listtransaction test1" is 1.99990004.

I'm using bitcoind in ubuntu 12:04 locale en\_US.UTF-8

Thanks for help.

**Tags:** bitcoind

> **Comments:**
> **username_1**: What version of bitcoin?  
> **username_0**: My version is 0.8.6  
> **username_1**: I've tried this on testnet and I've been unable to reproduce this with 0.8.6. 1.99990005 is always parsed as 1.99990005. What CPU architecture? Have you compiled from source or using the precompiled executable?  
> **username_1**: To avoid ambiguity by using doubles and floating point numbers, IMO we should switch to decimal strings instead of numbers for monetary amounts in the RPC interface. See https://github.com/bitcoin/bitcoin/pull/3759  

---

## 0 answers

