spell_out
gleam add spell_out@1
import gleam/io
import spell_out
pub fn main() {
io.println(spell_out.spell_out(123_456_789))
// one-hundred-twenty-three-million four-hundred-fifty-six-thousand seven-hundred-eigthy-nine
}
Further documentation can be found at https://hexdocs.pm/spell_out.
Development
gleam run # Run the project
gleam test # Run the tests