Updating bitcoinDevimalToCoin.
This commit is contained in:
parent
27744c34da
commit
b219080c3b
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ function decimalToCoin(amount) {
|
|||
}
|
||||
|
||||
function bitcoinDecimalToCoin(amount) {
|
||||
return amount * 100000000;
|
||||
return Math.round(amount * 100000000);
|
||||
}
|
||||
|
||||
function bitcoinCoinToDecimal(amount) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue