I have a form tag in HTML that has three inputes fields. Basically I want the oninput function to do a simple multiplication for me, but when I enter a decimal number, it gives me zero. For all other numbers it works.
Here is my code
<form oninput="x.value=parseInt(a.value)*parseInt(b.value)*parseInt(c.value) + '  Cubic feet'"> <label for="a">Width (ft)</label>   <input type="number" id="a" value="any"><br><br> <label for="b">Length (ft)</label> <input type="number" id="b" value="any"><br><br> <label for="c">Height (ft)</label> <input type="number" id="c" value="any"><br><br> <label for="total"> The total valume of your concrete area is :</label> <output name="x" for="a b c"></output> </form>