| 
 Posted by yawnmoth on 02/23/06 08:00 
According to php.net, the largest possible float is ~1.8e308. 
wikipedia.org offers more insight, suggesting that is, exactly, 
0x7FEFFFFFFFFFFFFF.  This sorta begs the question...  how can this 
number be represented in PHP without resorting to the decimal notation? 
 
<? 
echo 0x7FEFFFFFFFFFFFFF; 
?> 
 
....doesn't work.  Nor does... 
 
<? 
echo hexdec('7FEFFFFFFFFFFFFF'); 
?> 
 
So...  any ideas as to what will work?
 
[Back to original message] 
 |