Fix number format in sum in datatable
Buget $10-30 USD
Hi there , I have a sum of values in php that for example instead of giving me 5000.10 it gives me 500,100.10
$data = array();
$invoice = array();
$medico = 0;
$grand_total = 0.00;
while ($row = $empRecords->fetch_assoc()) {
if($medico == $row['medico']) {
$grand_total += floatval(str_replace('L.', '', str_replace(',', '', $row['total'])));
$invoice[$row['medico']]['grandtotal'] = $grand_total;
} else {
$grand_total = floatval(str_replace('L.', '', str_replace(',', '', $row['total'])));
$invoice[$row['medico']]['grandtotal'] = $grand_total;
}
Acordat lui:
Hello hiring member i hope you are doing well i am bhavika i have 4 +years experience in php , laravel , ajax , jquery , javascript, html, css , bootstrap i have done many projects i can start this right now so please Mai multe
6 freelanceri licitează în medie 28$ pentru acest proiect
Hi, I can fix the issue right now. I'm an experienced Database developer with the necessary skills for getting this job done. I am available to start immediately. I will provide a great result for you. Looking forward Mai multe
Hi there, I can write custom php code to fix the number format to display the needed number. Message me lets discuss
Hello, I reviewed your requirements and ready to fix number issue. In datatable. I have 5 years of experience in web development in php and mysql. Let's discuss in details. Thanks Faisal
I have some experiences in scripting use macros to simplify and solve problems in excel data. So, I'm sure can do it
Hello, I have good experience in php and can help you, please send me more detailed information for understanding