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

A Dart library for Format number into beautiful string, Format the number into a beautiful, readable and short string.

3.1.1 #

  • Fixed the issue that the number after the decimal point was incorrect due to inappropriate rounding.
  • test: Added tests

3.1.0 #

  • feat: Added global conf to choose if value should be rounded. #17 at @luis901101

3.0.0 #

  • Refactoring code.
  • Support custom unit builder.

[2.0.1] #

  • Fixed readme extension.

[2.0.0] #

💥 Refactoring

  • number -> numeral
  • format() -> format()
  • factory Numeral() -> const Numeral()

[1.2.5] #

  • Fixed #7 Formatted value is wrong when fractionDigits is set to 0.

[1.2.1] #

optimization.

import 'package:numeral/numeral.dart';

Numeral(1000).value(); // -> 1K
numeral(1000); // -> 1K
1000.numeral(); // -> 1K
71
likes
160
points
4.05k
downloads

Publisher

verified publishermedz.dev

Weekly Downloads

A Dart library for Format number into beautiful string, Format the number into a beautiful, readable and short string.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on numeral