v1.0.0
number_to_words
Convert number into words by localeID
44Likes 9.5K30-day downloads140Pub points
AndroidiOSWebmacOSWindowsLinux
Flutter package convert number into words by localeID
English project snapshot. Visit GitHub for the latest content.
API convert number to words by localeID. Now only support English And Malayalam. please contribute .
To use this plugin, add number_to_words as a dependency in your pubspec.yaml file.
import 'package:number_to_words/number_to_words.dart';
void main() {
print(NumberToWord().convert(Locale.ml, 21)); //ഇരുപത്തിയൊന്ന്
print(NumberToWord().convert(Locale.ml, 10)); //പത്ത്
print(NumberToWord().convert(Locale.ml, 1000)); //ആയിരം
print(NumberToWord().convert(Locale.en_ind, 1000)); //thousand
print(NumberToWord().convert(Locale.en_ind, 100)); //hundred
print(NumberToWord().convert(Locale.en_ind, 10)); //ten
}
Dependency list 1 items
{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗