mirror of
https://github.com/rottenwheel/moner.ooo.git
synced 2024-09-19 21:36:15 +02:00
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
@ -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 New Issue
Block a user