Skip to content

gfredericks/forty-two

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forty-two

forty-two is a tiny Clojure library that converts non-negative integers into english words, up to but not including 1066.

Usage

In the project.clj: [com.gfredericks/forty-two "1.0.0"]

In the code:

(ns foo.bar
  (:use [com.gfredericks.forty-two :only [words]]))

(assert (= (words 98254) "ninety-eight thousand two hundred and fifty-four"))

License

Copyright (C) 2012 Gary Fredericks

Distributed under the Eclipse Public License, the same as Clojure.

About

Clojure number-to-words conversion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published