RubyMoney/money — Issue #145: Fraction of cents rounding issue with Numeric#to_money
Author: mattv
Created: 2012-02-22 15:51:16+00:00
State: open

Noticed a small "fraction of cents" rounding issue with the Numeric#to_money method.

Using money 4.0.2:

> require 'money'
> 4.635.to_money
=> #

Should be

=> #

However, String#to_money handles rounding correctly:

> "4.635".to_money
=> #