wallet icon indicating copy to clipboard operation
wallet copied to clipboard

Amount won't allow 0.xx

Open xbtdev opened this issue 10 years ago • 4 comments

I copied and pasted an amount into copay and the send button was disabled. Very confusing at first. Then I realized it was because of the 0 before the decimal place.

0.6008877781 was the amount I was trying to paste in. Its not an allowed input. screen shot 2016-06-20 at 2 01 49 am screen shot 2016-06-20 at 2 01 44 am

xbtdev avatar Jun 20 '16 09:06 xbtdev

BTC only goes down to 8 decimal places.

0.001234567 will fail (send turns gray)

0.00123456 will succeed.

Yours has 10 decimal places.

Try entering 0.60146205 BTC.

dabura667 avatar Jun 20 '16 09:06 dabura667

Good catch, Maybe we can improve the UX a bit. I was copying/pasting from google sheets. It should probably round off /not allow any extra spots in the text input box

So 0.6008877781 does not work and .6008877781 does work... in this case the solution I arrived at was removing the "0", but I see that truncating to 0.60088777 would also work

xbtdev avatar Jun 20 '16 10:06 xbtdev

.6008877781 is viewed as 6008877781 bitcoins. You would get an error when trying to actually send.

dabura667 avatar Jun 20 '16 11:06 dabura667

fixed in 2.1.

matiu avatar Jun 22 '16 19:06 matiu