number_to_words

Creator: coderz1093

Last updated:

Add to Cart

Description:

number to words

number_to_words #
API convert number to words by localeID. Now only support English And Malayalam. please contribute .
Usage #
To use this plugin, add number_to_words as a dependency in your pubspec.yaml file.
Example #
import 'package:number_to_words/number_to_words.dart';

void main() {

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
}

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.