mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-05-15 04:52:32 -04:00
support and test splitting output for offer
This commit is contained in:
parent
055f2dd5d2
commit
3cfb83d252
15 changed files with 200 additions and 69 deletions
2
dist/utils/HavenoUtils.js
vendored
2
dist/utils/HavenoUtils.js
vendored
|
@ -127,7 +127,7 @@ class HavenoUtils {
|
|||
* @returns {number} the result
|
||||
*/
|
||||
static divideBI(a, b) {
|
||||
return Number(a * 100n / b) / 100;
|
||||
return Number(a * 10000000000000n / b) / 10000000000000;
|
||||
}
|
||||
/**
|
||||
* Convert XMR to atomic units.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue