Mocoso Joel Chippindale's occasional blog.

29 February 2008

MoreMoney gem

The Money gem is a great little utility for representing money in ruby.

However it's formatting rules assume that the currency symbol will be a dollar ($) which is makes it far less useful for those of us who need to display other currencies, euros, pounds sterling (£) and yen (¥) to name a few.

Luckily Paolo Negri has come to the rescue with his More Money gem which has all the goodness of the original money gem (configurable currencies and exchange rates) with added support for international currencies.

Installing it is as easy as

gem install more_money