I need to parseFloat this then to replace the dot with a comma:
sum="<?php echo substr($_tarif_membre,0,-2).'.'.substr($_tarif_membre,-2,2) ?>" * $('#tarif_membre').val()
total_total= sum.replace('.',',')
$('#total_total').val(sum)
if i dont multiply the php echoed variable by $('#tarif_membre').val() it will still show the result as a float:12.00 (as it is echoed from php) but if i multiply by $('#tarif_membre').val() the result will show 12, why? and why does the replace method does not work(i need to show comma separated values)