DEV Community

Discussion on: Daily Challenge #19 - Turn numbers into words

Collapse
 
gypsydave5 profile image
David Wickes • Edited

Common Lisp is a good choice for this:

(defun wordify (n)
  (format nil "~r" n))

(wordify 123456789)
;; => "one hundred twenty-three million four hundred fifty-six thousand seven hundred eighty-nine"