number_to_indian_words 1.0.1
number_to_indian_words: ^1.0.1 copied to clipboard
Convert numbers to word formate in indian style.
example/number_to_indian_words_example.dart
import 'package:number_to_indian_words/number_to_indian_words.dart';
void main() {
print('123456789: ${NumToWords.convertNumberToIndianWords(123456789)}');
/// result:
/// 123456789: One Crore Twenty Three Lakh Forty Five Thousand Six Hundred Seventy Eight
print('10000: ${NumToWords.convertNumberToIndianWords(10000)}');
/// result:
/// 10000: Ten Thousand
print('10500: ${NumToWords.convertNumberToIndianWords(10500)}');
/// result:
/// 10500: Ten Thousand Five Hundred
print('5479032: ${NumToWords.convertNumberToIndianWords(5479032)}');
/// result:
/// 5479032: Fifty Four Lakh Seventy Nine Thousand Thirty Two
print('2420000: ${NumToWords.convertNumberToIndianWords(2420000)}');
/// result:
/// 5479032: Twenty Four Lakh Twenty Thousand
}