coinbase/coinbase-ruby — pull request #10 by momer (2013-08-22 03:18:45+00:00)
Title: Remove unnecessary & unsafe floating point operations. Though precision ...

...issues shouldn't happen with RubyMoney/Money (see the way to_d is implemented at https://github.com/RubyMoney/money/blob/master/lib/money/money.rb), it's advisable not to let currency touch floats if possible, especially since the rest of the Money logic operates on BigDecimal.