You are here: large float's « PHP Programming Language « IT news, forums, messages
large float's

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?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация