number_to_words 1.0.0 copy "number_to_words: ^1.0.0" to clipboard
number_to_words: ^1.0.0 copied to clipboard

Convert number into words by localeID

example/lib/main.dart

import 'package:number_to_words/number_to_words.dart';

void main(List<String> arguments) {
  print(NumberToWord().convert('ml',21)); //ഇരുപത്തി ഒന്ന്
  print(NumberToWord().convert('ml',10)); //പത്ത്
  print(NumberToWord().convert('ml',1000)); //ആയിരം

  print(NumberToWord().convert('en-in',1000)); //thousand
  print(NumberToWord().convert('en-in',100)); //hundred
  print(NumberToWord().convert('en-in',10)); //ten
}
41
likes
130
pub points
94%
popularity

Publisher

unverified uploader

Convert number into words by localeID

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on number_to_words