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.

digit_to_word #

Convert an int to a String representing the english words for said number.

Example

1 -> one
25 -> twenty-five
857 -> eight hundred fifty-seven
43021 -> forty-three thousand twenty-one

Getting Started #

Install the package then simply call DigitToWord.translate(11345)

Example

var num = 954;
var numberAsString = DigitToWord.translate(num);
print(numberAsString) /// nine hundred fifty-four

Note: This package maxes out at billions. Anything over 999,999,999,999 will return an error message.

4
likes
0
pub points
27%
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