A comprehensive Dart package that formats numbers according to the Indian numeral system and converts numbers to words. Features extensive support for South Asian currency symbols and regional formatting conventions.
🛠️ Technologies Used
- Dart programming language
- Pub.dev package publishing
- Indian numeral system algorithms
- Currency symbol mapping
🧠 How It Works
- Accepts numeric input in standard format
- Applies Indian grouping conventions (e.g., 12,34,56,789)
- Converts numbers to written words in Indian format
- Supports multiple South Asian currency symbols
- Provides easy-to-use API for Flutter applications
🚀 Features
- Indian Grouping Format: Numbers formatted with Indian conventions
- Number to Words: Convert numbers to written Indian format
- Multi-Currency Support: 8 South Asian currencies supported
- India: ₹
- Bangladesh: ৳
- Pakistan: ₨
- Nepal: रु
- Bhutan: Nu
- Afghanistan: ؋
- Maldives: Rf
- Sri Lanka: Rs
📊 Usage Examples
// Format numbers with Indian grouping
IndianNumeralConverter.formatToIndian(123456789);
// Output: 12,34,56,789
// Format with currency symbols
IndianNumeralConverter.formatToIndian(1000000, currency: "Nepal");
// Output: रु 10,00,000
// Convert to words
IndianNumeralConverter.formatToIndianWords(123456789, currency: "Sri Lanka");
// Output: Rs Twelve Crore Thirty Four Lakh Fifty Six Thousand Seven Hundred Eighty Nine
Published on Pub.dev: indian_numeral_converter
Explore the source code on GitHub: AgnivaMaiti/indian_numeral_converter