Closed basex closed 8 years ago
If I load the Money Gem version 6.6.1: Money.new(5000,'CLP').amount.to_f => 5000.0
When I load also the Google Currency Gem version Money.new(5000,'CLP').amount.to_f => 50.0
The bug was introduced in the commit 6e363708f9f1c52a1656796cf798c060f2b939c9
The changes to the CLP due to Google issues, should only apply inside the google_currency gem.
I tried removing the commit. Money.new(10000,'CLP').amount.to_f => 10000.0 Money.new(10000,'CLP').exchange_to(:USD).to_f => 14.47
Everything seems OK. 10000 CLP is 14.47 USD
If I load the Money Gem version 6.6.1: Money.new(5000,'CLP').amount.to_f => 5000.0
When I load also the Google Currency Gem version Money.new(5000,'CLP').amount.to_f => 50.0
The bug was introduced in the commit 6e363708f9f1c52a1656796cf798c060f2b939c9
The changes to the CLP due to Google issues, should only apply inside the google_currency gem.