From f7a608bf2bd62d090a54230f875af364c9b1e462 Mon Sep 17 00:00:00 2001 From: Abdiel Kavash <19243993+AbdielKavash@users.noreply.github.com> Date: Sat, 9 Mar 2024 17:16:07 -0600 Subject: [PATCH] cleanup --- src/main/java/emt/util/EMTTextHelper.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/emt/util/EMTTextHelper.java b/src/main/java/emt/util/EMTTextHelper.java index b0f46bef..b8336e78 100644 --- a/src/main/java/emt/util/EMTTextHelper.java +++ b/src/main/java/emt/util/EMTTextHelper.java @@ -42,16 +42,4 @@ public class EMTTextHelper { public static String localize(String key) { return StatCollector.translateToLocal(key); } - - public static String formatNumber(long number) { - if (number < 10_000) { - return String.valueOf(number); - } else if (number < 10_000_000) { - return (number / 1000) + "k"; - } else if (number < 1_000_000_000) { - return (number / 1_000_000) + "M"; - } else { - return (number / 1_000_000_000) + "G"; - } - } }