sound.speech.text.number_words

sound.speech.text

number_words(s) -> words

Expand a number literal into English words

s is a decimal literal ("42", "3.5", "-7"). Returns an array of lowercase words ({ "forty", "two" }). Integers are expanded up to the billions; fractional digits are spelled out one by one after "point".