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

http://us3.php.net/printf


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -