$jsonString = {"key": 0.00000055};
$result = json_decode($jsonString, true, 512, JSON_BIGINT_AS_STRING);
function decimalNotation($num){
$parts = explode('E', $num);
if(count($parts) != 2){
return $num;
}
$exp = abs(end($parts)) + 3;
$decimal = number_format($num, $exp);
$decimal = rtrim($decimal, '0');
return rtrim($decimal, '.');
}
echo 0.00000055; // 5.5E-7
echo decimalNotation(0.00000055); // 0.00000055