diff --git a/pub_stats_core/lib/src/util/format_utils.dart b/pub_stats_core/lib/src/util/format_utils.dart index 3faa330..3c720e4 100644 --- a/pub_stats_core/lib/src/util/format_utils.dart +++ b/pub_stats_core/lib/src/util/format_utils.dart @@ -1,6 +1,6 @@ String formatLargeNum(num? number) { if (number == null) return 'null'; - if (number < 1000) return number.toString(); + if (number < 1000) return number.toInt().toString(); const suffixes = ['K', 'M', 'B', 'T']; var suffixIndex = -1;