component/type — pull request #14 by dominicbarnes (2014-01-07 17:00:53+00:00)
Title: Checking for NaN

Addresses issue #12 by adding a branch to check for `NaN`. (which returns `"nan"`)