fix: increase precision of fiat conversion result
Extended the decimal precision of the converted XMR value from 8 to 12 places. This ensures more accurate representation of conversion rates, especially critical for high-precision financial calculations.
This commit is contained in:
parent
acb18fd17e
commit
04cadac205
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ function fiatConvert(value) {
|
|||
|
||||
if (exchangeRates[selectBox]) {
|
||||
let value = fiatAmount / exchangeRates[selectBox];
|
||||
xmrValue.value = value.toFixed(8);
|
||||
xmrValue.value = value.toFixed(12);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue