Hi,
I'm currently using the following code to computer a % , it is working fine, but I only want max two digits after the dot like this xxxxxxxxx.XX .
I would appriciate any tip on how to accomplish this.PHP Code:var P = parseFloat($('#P_TextBox1').val());
var A = parseFloat($('#A_TextBox3').val());
var total_surch = ((A / 100) * P);
$('#T_TextBox2').val(total_surch);
Thank You
