fix: round totals
This commit is contained in:
1 parent
999e8053ea
commit
a1ba2e8b5c
1 file changed
+1
-4
@@ -328,10 +328,7 @@ class TotalsService extends BaseService {
|
||||
}
|
||||
|
||||
rounded(value) {
|
||||
const decimalPlaces = 4
|
||||
return Number(
|
||||
Math.round(parseFloat(value + "e" + decimalPlaces)) + "e-" + decimalPlaces
|
||||
)
|
||||
return Math.round(value)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user