compact_number 0.0.2 copy "compact_number: ^0.0.2" to clipboard
compact_number: ^0.0.2 copied to clipboard

Convert large number to short readable format such as 10K, 5M, 10B etc.

Compact Number #

Convert large number to short readable format such as 10K, 5M, 2B etc.

Usage #

final cn = CompactNumber();

cn.getValue(10000); // 10K
cn.getValue(5000000); // 5M
cn.getValue(2000000000); // 2B

5
likes
140
points
27
downloads

Publisher

verified publishermddanish.dev

Weekly Downloads

Convert large number to short readable format such as 10K, 5M, 10B etc.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on compact_number