From 0fbc0bf07fdf2693792a14121590a50d11f32914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 22 Apr 2023 13:18:50 -0500 Subject: [PATCH] feat: xp per battle with 0 decimals --- src/commands/stats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/stats.ts b/src/commands/stats.ts index c714049bd..63f05086e 100644 --- a/src/commands/stats.ts +++ b/src/commands/stats.ts @@ -68,7 +68,7 @@ export async function execute( ], [ 'XP per battle', - (stats.all.xp / stats.all.battles).toFixed(2), + (stats.all.xp / stats.all.battles).toFixed(0), ], [], ['Damage ratio', stats.special.damageRatio.toFixed(2)],