RubyMoney is a widely adopted Ruby library that provides a robust and precise way to represent and manipulate monetary values in software applications. It is designed around the principle that financial calculations must avoid floating point errors, and therefore represents values internally as integers in the smallest currency unit, such as cents. The library introduces a Money class that encapsulates both the numeric value and the associated currency, ensuring that operations are always context-aware and accurate. It also includes a Money::Currency class that stores metadata such as currency codes, symbols, and formatting rules, enabling consistent handling of international currencies. The library supports arithmetic operations, comparisons, and currency conversion through configurable exchange rate providers, making it suitable for both simple and complex financial systems.

Features

  • Integer-based representation to prevent floating point errors
  • Encapsulation of value and currency in a single object
  • Support for arithmetic operations and comparisons
  • Currency metadata management with ISO standards
  • Configurable currency exchange and conversion APIs
  • Integration with Rails and other Ruby ecosystems

Project Samples

Project Activity

See All Activity >

Categories

Financial

Follow RubyMoney

RubyMoney Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of RubyMoney!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Financial Software

Registered

2026-03-19