humanize_big_int 1.0.0 copy "humanize_big_int: ^1.0.0" to clipboard
humanize_big_int: ^1.0.0 copied to clipboard

A simple dart package to convert large numbers to a human readable format. 1278 to 1.2K instead, for example.

A simple dart package to convert large numbers to a human readable format. 1278 to 1.2K instead, for example.

Sample #

humanizeInt #

Integer Humanized
1278 1.2K
250 250
12340000 12M
123400000 120M

Usage #

humanizeInt #

  final n1 = humanizeInt(1234); // 1.2K
  final n2 = humanizeInt(12340000); // 12M

Additional information #

This package only offers this niche functionality. For more general use cases, checkout

3
likes
160
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

A simple dart package to convert large numbers to a human readable format. 1278 to 1.2K instead, for example.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on humanize_big_int