Skip to content

Commit

Permalink
fix: no floats
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Mar 16, 2024
1 parent 4ed05ff commit b8f645e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/locales/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ function getStatus() {
return [
locale.replace('.json', ''),
{
human: +human.toFixed(2),
ai: +(localeTotal - human).toFixed(2),
total: +localeTotal.toFixed(2),
human: Math.round(human),
ai: Math.round(localeTotal - human),
total: Math.round(localeTotal),
},
]
}),
Expand Down

0 comments on commit b8f645e

Please sign in to comment.