im trying to multiply the two value with textbox but im not getting the right answer when they had 2 decimal places. sample output 5.50*5 = 25. i would like to print like this 27.50 instead of 25.
<script>
if (elm["ItemPrice"].value != "" && elm["ItemQuantity"].value != "") {
elm["TotalSale"].value = parseInt(elm["ItemPrice"].value) * parseInt(elm["ItemQuantity"].value);
}
</script>
<script>
$(document).ready(function () {
$('multi').DataTable();
});
</script>