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

outdated

A Dart library for Format number into beautiful string.

Numeral #

Format number into beautiful string.

Install #

See pub.dev Numeral install document

Getting Started #

import 'package:numeral/numeral.dart';

// 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

See Example

License #

The component is open-sourced software licensed under the MIT license.

Using numeral function #

import 'package:numeral/fun.dart';

numeral(10000); /// 10K

Extension #

import 'package:numeral/ext.dart';


10000.number(); // 10K
62
likes
0
pub points
94%
popularity

Publisher

verified publisherodroe.com

A Dart library for Format number into beautiful string.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on numeral