Skip to content
semmons99 edited this page Apr 25, 2011 · 9 revisions

This library aids one in handling money and different currencies. Features:

  • Provides a Money class which encapsulates all information about an certain amount of money, such as its value and its currency.
  • Represents monetary values as integers, in cents. This avoids floating point rounding errors.
  • Provides APIs for exchanging money from one currency to another.
  • Has the ability to parse a money string into a Money object.

Resources:

Rails Tutorials:

Extensions: