转换科学记数/指数[重复]

This question already has an answer here:

I am trying to convert a scientific notation/exponential number.

For example :

I get from a API request this number : 4.96E-6

I want to convert it to his normal value 0.00000496.

I searched on the web and tryed a few codes like

$awb = "4.96e-6"; // tried with and without quotes
$format = sprintf($awb, "%e");
var_dump($format);

it returns : string(7) "4.96E-6"

$awb = 4.96e-6;
$format = sscanf($awb, "%e");
var_dump($format);

Is returning :

array(1) { [0]=> float(4.96E-6) }

Please what should I do ?

Thank you

</div>

You can use the number_format() function; e.g.

<?php
$awb = "4.96e-6";
print number_format($awb, 10);
?>

Will result in the output: 0.0000049600.

See: http://php.net/manual/en/function.number-format.php