Skip to content

Commit

Permalink
fix(account page): inconsistent accuracy number on pb tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Oct 18, 2023
1 parent 7395318 commit b8e6f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/ts/account/pb-tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down

0 comments on commit b8e6f8d

Please sign in to comment.