spree-contrib/spree_store_credit_payment_method — pull request #21 by jordan-brough (2014-10-20 20:16:00+00:00)
Title: Fix issues caused by float imprecision

Because, e.g., 8.21.to_d != 8.21

This was causing `validate_authorization` to fail for certain numbers because it didn't think enough funds were available.