number_to_words
1.0.0, released 6 years ago by an unverified publisher
Convert numbers into words by locale ID supporting English and Malayalam.
What it does
Provides a simple API to convert numeric values into their word representations based on a specified locale identifier. Currently supports English and Malayalam languages.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display numbers as words in English or Malayalam.
- Building invoice or receipt generation apps requiring written number amounts.
Skip it when
- You need support for languages other than English and Malayalam.
- You require complex currency-aware number formatting.
Strengths
- Simple and straightforward API.
- Supports Malayalam in addition to English.
Weaknesses
- Very limited language support (only English and Malayalam).
- Minimal documentation and features.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:number_to_words/number_to_words.dart';
void main() {
print(NumberToWord().convert('ml', 21));
print(NumberToWord().convert('en-in', 1000));
}Alternatives
Packages that do the same job and could replace number_to_words.
- number_to_words_english
Convert numbers to words, ordinals, and currencies in 12 languages.
49Compare - spelling_number
Flutter plugin to convert numbers into their written word form across 14 languages.
38Compare - persian_number_utility
Convert numbers to Persian/English letters, format Jalali dates, and validate Iranian IDs.
51Compare - indian_currency_to_word
Converts currency amounts to words in the Indian Locale up to Crore.
44Compare