numeral 1.2.3 copy "numeral: ^1.2.3" to clipboard
numeral: ^1.2.3 copied to clipboard

outdated

A Dart library for Format number into beautiful string.

example/main.dart

import 'package:numeral/numeral.dart';

void main() {
  // number < 1 thousand.
  Numeral(520).value(); // > 520

  // number >= 1 thousand.
  Numeral(1314).value(); // > 1.314K

  // number >= 1 million.
  Numeral(1000000).value(); // > 1M

  // number >= 1 billion.
  Numeral(1000000000).value(); // > 1B

  // number >= 1 trillion.
  Numeral(1000000000000).value(); // > 1T

  // number <= 0
  Numeral(-1000).value(); // > -1K
}
67
likes
0
points
3.57k
downloads

Publisher

verified publisherodroe.dev

Weekly Downloads

A Dart library for Format number into beautiful string.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on numeral