{"issue":{"created_at":"2011-11-18T20:58:43Z","state":"closed","updated_at":"2011-11-23T21:28:40Z","user":{"gravatar_id":"9871c515e1a284f2861f1d92645fd00a","id":2749,"url":"https://api.github.com/users/fabien","login":"fabien","avatar_url":"https://secure.gravatar.com/avatar/9871c515e1a284f2861f1d92645fd00a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":3,"body":"The Javascript enhanced editing of product prices performs a rounding to 2 decimals immediately, losing precision when the product is updated. By changing price.toFixed(2) to price.toFixed(6) for example, although it doesn't display as nicely, you'll retain this precision when submitting. Another solution would be to update a hidden field with the precise, unrounded, number, and keep the current inputs for display only.\r\n\r\nAlso, the product price inc. VAT will be a fully formatted currency, which is not usable in any way.","assignee":null,"id":2284483,"number":787,"labels":[{"name":"nocode","color":"d7e102","url":"https://api.github.com/repos/spree/spree/labels/nocode"},{"name":"notest","color":"F2A71B","url":"https://api.github.com/repos/spree/spree/labels/notest"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Product vs. show_price_inc_vat introduces rounding errors","closed_at":"2011-11-23T21:28:40Z","html_url":"https://github.com/spree/spree/issues/787","milestone":null,"url":"https://api.github.com/repos/spree/spree/issues/787"},"action":"closed"}