number_extension 0.0.4 copy "number_extension: ^0.0.4" to clipboard
number_extension: ^0.0.4 copied to clipboard

A package to remove large numeric values from the value and add numeric extension to it.

This package is used to remove large numeric values from the value and add numeric extension to it like Million, Billion, etc.

The package supports Internation System and Indian System.

For using International system, follow the below snipit.

// This function returns String
String result = NumberExtension.internationSystem(100000);
//Result: 100 K

For using Indian system, follow the below snipit.

// This function returns String
String result = NumberExtension.indianSystem(100000);
//Result: 1 Lac

For controlling the points after value, use the following optional parameter:

String result = NumberExtension.internationSystem(1554400, numbersAfterPoint: 3);
4
likes
150
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

A package to remove large numeric values from the value and add numeric extension to it.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on number_extension