fix(account page): inconsistent accuracy number on pb tables

This commit is contained in:
Miodec 2023-10-18 13:45:39 +01:00
parent 73953187e1
commit b8e6f8da20

View file

@ -161,7 +161,7 @@ function buildPbHtml(
if (Config.alwaysShowDecimalPlaces) {
accString = Misc.roundTo2(accString).toFixed(2);
} else {
accString = Math.round(accString);
accString = Math.floor(accString);
}
}
accString += ` acc`;