Convert an int
to a String
representing the english words for said number.
1 -> one
25 -> twenty-five
857 -> eight hundred fifty-seven
43021 -> forty-three thousand twenty-one
Install the package then simply call DigitToWord.translate(11345)
var num = 954;
var numberAsString = DigitToWord.translate(num);
print(numberAsString) /// nine hundred fifty-four