From b8f645e8847f301be60ebffcc235f047669b48ed Mon Sep 17 00:00:00 2001 From: Derick M <58572875+TurtIeSocks@users.noreply.github.com> Date: Sat, 16 Mar 2024 16:56:30 -0400 Subject: [PATCH] fix: no floats --- packages/locales/lib/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/locales/lib/utils.js b/packages/locales/lib/utils.js index d2d80d167..14a150917 100644 --- a/packages/locales/lib/utils.js +++ b/packages/locales/lib/utils.js @@ -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), }, ] }),