spree/spree — pull request #1856 by oldtinroof (2012-08-15 17:03:31+00:00)
Title: Change price fields to handle locale values properly

When en-GB is selected as a locale, and the internationalisation instructions are followed, the variant price fields (price and cost_price) show the wrong value on edit.

When the price is 9.99 they are showing 999 - which means on save they become 999.00.

Have changed the text_fields to use the same number method as the product edit page.

Not sure how to write a test for this, but can reproduce on a couple of sandbox installs here.