money_readable 1.1.15 copy "money_readable: ^1.1.15" to clipboard
money_readable: ^1.1.15 copied to clipboard

How to get a number converted into something like this 12K, 1.5M, 4.2B from a normal number like 134900

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add money_readable

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  money_readable: ^1.1.15

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:money_readable/money_readable.dart';
0
likes
110
pub points
36%
popularity

Publisher

unverified uploader

How to get a number converted into something like this 12K, 1.5M, 4.2B from a normal number like 134900

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter, flutter_easyloading, fluttertoast

More

Packages that depend on money_readable