lib/active_merchant/billing/gateway.rb in activemerchant-1.68.0 vs lib/active_merchant/billing/gateway.rb in activemerchant-1.69.0

- old
+ new

@@ -278,12 +278,12 @@ else amount.split('.').first end elsif three_decimal_currency?(currency) if self.money_format == :cents - (amount.to_i * 10).to_s + amount.to_s else - sprintf("%.3f", amount.to_f) + sprintf("%.3f", (amount.to_f / 10)) end end end def currency(money)