number-to-words
number-to-words copied to clipboard
ADD support for decimal numbers
I added support for decimal numbers (1.7 => one and seven tenths), per issue #9 . Also added tests; all passed.
I was thinking that a decimal call into toWordsOrdinal would raise an error, but decided to leave the current behavior (ordinal of 3.4 => third) for backward compatibility.