<?php
echo phpversion();
?>
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