<script>
function e(element)
{
return document.getElementById(element);
}
function f(element)
{
return parseFloat(e(element).value);
}
function updateResult()
{
e("inputK").value = f("inputG")*1.33* (f("inputI")/(f("inputH")+ f("inputI")))
}
</script>
I request help in rounding the values to 2 decimal place for the code displayed above
result-- input type="text" id="inputK" readonly="true" i have tried math.round(inputK) it does not work your suggestion will help me in improving the result.