number_to_indian_words 1.0.1 copy "number_to_indian_words: ^1.0.1" to clipboard
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
}
5
likes
125
points
300
downloads

Publisher

unverified uploader

Weekly Downloads

Convert numbers to word formate in indian style.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on number_to_indian_words