According to php.net, the largest possible float is ~1.8e308.
wikipedia.org offers more insight, suggesting that is, exactly,
0x7FEFFFFFFFFFF FFF. This sorta begs the question... how can this
number be represented in PHP without resorting to the decimal notation?
<?
echo 0x7FEFFFFFFFFFF FFF;
?>
....doesn't work. Nor does...
<?
echo hexdec('7FEFFFF FFFFFFFFF');
?>
So... any ideas as to what will work?
wikipedia.org offers more insight, suggesting that is, exactly,
0x7FEFFFFFFFFFF FFF. This sorta begs the question... how can this
number be represented in PHP without resorting to the decimal notation?
<?
echo 0x7FEFFFFFFFFFF FFF;
?>
....doesn't work. Nor does...
<?
echo hexdec('7FEFFFF FFFFFFFFF');
?>
So... any ideas as to what will work?
Comment