num2text 0.0.4
num2text: ^0.0.4 copied to clipboard
Number-to-words in 69 languages for Dart. Supports int, double, BigInt, Decimal, and numeric strings. Includes currency, year formatting, and locale-specific options.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add num2text
With Flutter:
$ flutter pub add num2text
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
num2text: ^0.0.4
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:num2text/num2text.dart';