We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1c4cfc + e8087c5 commit 657c732Copy full SHA for 657c732
lib/web/mage/validation/validation.js
@@ -25,7 +25,7 @@
25
var val = $(e).val();
26
if (val && val.length > 0) {
27
result = true;
28
- var valInt = parseInt(val, 10) || 0;
+ var valInt = parseFloat(val) || 0;
29
if (valInt >= 0) {
30
total += valInt;
31
} else {
0 commit comments