number_formatter

A Flutter package to format numbers with K, M, B suffixes example 1000 = 1k, 3600 = 3.6k 100,000 = 100k.

Platform Support

Feature Android iOS macOS Web Linux Windows
Apps Manager

import 'package:number_formatter/number_formatter.dart';

void main() {
  int number = 1200;
  print(formatNumber(number)); // Output: 1.2K
}

Libraries

number_formatter