Project

cash

0.0
No commit activity in last 3 years
No release in over 3 years
Money model backed by BigDecimal
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
>= 0
 Project Readme

Cash

Money object for your application. Based on BigDecimal and ISO-4217 currencies.

Features

Encapsulates an amount with its currency.

Backed by BigDecimal, so it can store arbitrary-precision values without rounding errors. Useful if you’re dealing with fractional cents.

Safe and strict. Fail fast approach let's you sleep like a baby.

Compatibility

Tested on Ruby 1.9, 1.8, JRuby, and RBX:

https://travis-ci.org/#!/pithyless/cash

Credits

Huge thanks go out to:

  • The guys from money gem, helping rid the world of floating finances
  • The guys from big_money gem, helping to spread the word that BigDecimal is bigger and better
  • Luca Guidi for being awesome and giving up the cash gem name ;]