fix(Rounded Total): Use Banker's Rounding in JS round_based_on_smallest_currency_fraction (#6840)
This commit is contained in:
parent
434b518ebf
commit
a5db88843b
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ function round_based_on_smallest_currency_fraction(value, currency, precision) {
|
|||
value -= remainder_val;
|
||||
}
|
||||
} else {
|
||||
value = Math.round(value);
|
||||
value = _round(value);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue