numeral 3.1.1
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.1] #
optimization.
import 'package:numeral/numeral.dart';
Numeral(1000).value(); // -> 1K
numeral(1000); // -> 1K
1000.numeral(); // -> 1K