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 .

PHP Code:
         var parseFloat($('#P_TextBox1').val());
            var 
parseFloat($('#A_TextBox3').val());
            var 
total_surch = ((100) * P);
            $(
'#T_TextBox2').val(total_surch); 
I would appriciate any tip on how to accomplish this.


Thank You