Just a gem to convert a number to its string representation, using currency names. For example:

>> require “currencystring”

> true

>> class Numeric >> include CurrencyString >> end

> Numeric

>> 1.to_currency_s(“en_US”)

> “one dollar”

>> 1.01.to_currency_s(“en_US”)

> “one dollar and one cent”

>> 10.10.to_currency_s(“en_US”)

> “ten dollars and ten cents”

With no language specified, it will try to get the default system language. When the language is not supported, a ‘?’ is returned.