Component price is truncated when estimating total price
I've just noticed that, when estimating the total price, the price of each component is truncated, leaving out everything after the decimal.
For instance, if a component costs 9.99€, the price used in the calculation would be 9€...
This is because parseFloat
doesn't parse correctly number with a comma (it expects a floating number to have a dot), see https://stackoverflow.com/questions/7571553/javascript-parse-float-is-ignoring-the-decimals-after-my-comma