Skip to content

Commit

Permalink
oops... it was rounding up the decimals...
Browse files Browse the repository at this point in the history
  • Loading branch information
bandinopla committed Nov 21, 2024
1 parent 1d99199 commit 9a2eff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/db/resolvers/achievements/can-y-x-plates.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class CanYXPlates extends Achievement {

this.liftID = y;
this.kgW = kgW;
this.kgL = lb2kg( kgL ).toFixed(2);
this.kgL = Math.floor(lb2kg( kgL ) * 100) / 100;
this.inTheLastDays = inTheLastDays;
}

Expand Down

0 comments on commit 9a2eff0

Please sign in to comment.