i am trying adding numbers like this
$ctr = 0.0000001 + 0.0000001+ 0.0000001+ 0.0000001+ 0.0000001+ 0.0000001; echo floatval($ctr); it gives result like this 2.0E-5
i have tried, number_format, round etc... but result is same, it should be 0.0000006
please help me to make this happened.
printf("%0.7f",$ctr);