VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Three_d on September 16, 2016, 14:57:54 PM

Title: Final price rounded when comma is used instead of point
Post by: Three_d on September 16, 2016, 14:57:54 PM
Hi,

When adding a product you can choose to enter the price in the "Cost price" field
or the "Final price" field and check to "Calculate the Cost price".
But when you for example enter 12,95 (with a comma) in the "Final price" field and check the "Calculate the Cost price" field you end up with a "Final price" of 12 after saving.
The "Cost price" field does accepts commas.
The "Final price" field doesn't.

Regards,
Jeroen
Title: Re: Final price rounded when comma is used instead of point
Post by: Milbo on September 19, 2016, 13:52:21 PM
Got it, found and fixed