php - Convert 6.5e-7 to a formatted number such as 0.00000060 -
i have number pulled api displays 6.5e-7, display 0.00000060 (i think 6.5e-7 means),
i have tried correct using php round function show 0 or 6.5e-7 when used precision.
print round($vsat, 8);
any appreciated
if had guess, think need formatted print printf
printf ("%.8f", $vsat)
%.8f means floating point , 8 decimal places
Comments
Post a Comment