Money Extensions

Build Status Coverage Status Dependency Status Code Climate

DESCRIPTION

Extends the money classes with helpful functions and currency functions

e.g. in model money_fields :total, :discount

This will by default map a money object "total" to a database column total_in_cents and the same for discount.

Various numerical functions for money, e.g. round, split_between, sign, etc.

See spec directory for examples.

INSTALLATION

Add to your Gemfile: gem 'money_extensions'