Hello
I am using the following number formating with PHPMAKER 10:
74'280'305,00
I am using the following script to autocalculate the field on change. The numbers are in formation such 89000.75 and PHPMAKER is claimin that the format of number is not correct.
Is there a way use the number of formating easily for this script?
thanks
mpol_ch
$("#x_Vortrag").change(function() {
var p1 = $("#x_Vortrag").val();
var p2 = $("#x_Betraege").val();
var sump = +p1 + +p2;
var m1 = $("#x_Leistungen").val();
var m2 = $("#x_Anlagen").val();
var summ = +m1 + +m2;
$("#x_Endbestand").val((+sump - +summ).toFixed(2)) ;