mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-12-01 11:43:58 +01:00
Updating bitcoinDevimalToCoin.
This commit is contained in:
+1
-1
@@ -135,7 +135,7 @@ function decimalToCoin(amount) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function bitcoinDecimalToCoin(amount) {
|
function bitcoinDecimalToCoin(amount) {
|
||||||
return amount * 100000000;
|
return Math.round(amount * 100000000);
|
||||||
}
|
}
|
||||||
|
|
||||||
function bitcoinCoinToDecimal(amount) {
|
function bitcoinCoinToDecimal(amount) {
|
||||||
|
|||||||
Reference in New Issue
Block a user