HgO (7295db29) at 30 Mar 20:54
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
Closes #21
I'm reducing the shipment costs, as it actually costs us about 3€ / per internet cube.
I'm also rounding off the total price, to avoid playing with pocket change and to have a similar behaviour as before the glitch.
HgO (cb87571a) at 30 Mar 20:54
Merge branch '21-component-price-is-truncated-when-estimating-total...
... and 1 more commit
HgO (7295db29) at 30 Mar 20:50
fix bug with parse float
Closes #21
I'm reducing the shipment costs, as it actually costs us about 3€ / per internet cube.
I'm also rounding off the total price, to avoid playing with pocket change and to have a similar behaviour as before the glitch.
HgO (48baab3c) at 30 Mar 20:49
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
HgO (522ef86f) at 21 Feb 10:14
Closes #20
HgO (522ef86f) at 21 Feb 10:05
add chatrooms mattermost and libera.chat, change website url in https
Closes #20
HgO (b6f3ca27) at 20 Feb 17:01
HgO (66e55794) at 27 Sep 20:45
The file on the server diverged from the one on this repo…
Closes #19
HgO (b6f3ca27) at 27 Sep 20:45
Merge branch '19-update-requirements-txt' into 'master'
... and 2 more commits