# RubyMoney Money

A Ruby Library for dealing with money and currency conversion.

Repository: https://github.com/RubyMoney/money
Canonical: https://ross.abutalabs.com/products/rubymoney-money
Homepage: http://rubymoney.github.io/money
Language: Ruby
License: MIT
License Family: permissive
Topics: money, exchange-rate, ruby
Last push: 2026-07-31T09:58:22+00:00
Link (homepage): http://rubymoney.github.io/money

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 6515, "days_push": 33, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2881, forks 642 (observed 2026-08-28T04:07:27.605640+00:00)

## What it is
A Ruby library providing a Money class that encapsulates monetary amounts and currencies, storing values as integer cents to avoid floating-point errors. It includes currency metadata and APIs for exchanging money between currencies, with a companion money-rails gem for Rails integration.

## Use cases
- handle money amounts in ruby without floating point errors
- convert between currencies in a ruby app
- store and compare monetary values in rails
- parse and format prices with currency metadata
- do arithmetic on monetary values safely
- manage currency exchange rates in an application

## When to choose
- you're building a Ruby or Rails app that deals with prices, invoices, or payments
- you need exact integer-based monetary arithmetic across many currencies
- you want pluggable exchange-rate backends for currency conversion

## When to avoid
- you need string-to-money parsing out of the box (use the companion monetize gem)
- your project isn't in Ruby
- you need a full accounting or billing system rather than a value object library

## Facets
- artifact type: library
- maturity: stable
- function: serialization, math
- domain: fintech, developer-tools
- platform: ruby, cross-platform
- tags: money, currency, currency-conversion, exchange-rates, financial-arithmetic, rails-integration

## Member repositories
- RubyMoney/money (main) score 75
- RubyMoney/money-rails (plugin) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:27.605640+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:27.826558+00:00, confidence not recorded.
  - readme: https://github.com/RubyMoney/money (fetched 2026-08-28T04:07:27.605640+00:00, sha d233c20af435)
  - homepage: http://rubymoney.github.io/money (fetched 2026-08-29T09:50:53.975872+00:00, sha 56a1cd5472f9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
