digit_to_word 1.1.0 copy "digit_to_word: ^1.1.0" to clipboard
digit_to_word: ^1.1.0 copied to clipboard

outdated

Convert digits to their english word representations. 4235 becomes four thousand two hundred thirty-five, etc.

example/main.dart

library digit_to_word.example;

import 'package:digit_to_word/digit_to_word.dart';

void main() {
  // Prints the String 'one';
  print(DigitToWord.translate(1));

  // Prints the String 'one thousand two hundred thirty-four'
  print(DigitToWord.translate(1234));

  // Prints the String 'one thousand two hundred thirty four'
  print(DigitToWord.translate(1234, withDashes: false));
}
4
likes
0
pub points
15%
popularity

Publisher

verified publisherkalebhermes.com

Convert digits to their english word representations. 4235 becomes four thousand two hundred thirty-five, etc.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

intl

More

Packages that depend on digit_to_word