Re: Found a PHP bug!!!!!!!!!
| From: | Scott Fletcher | Date: | Mon, 27 Jan 2003 21:47:31 +0000 |
| Subject: | Re: Found a PHP bug!!!!!!!!! | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133305@lists.php.net to get a copy of this message | ||
Okay, correction...
Double --> 11.1237
Float --> 0.9999999999999999999999999999999999999999999999999999
Cheers! It's the way it work in C Programming... Double won't be as long
or as infinite as the floating point.
"White Wolf" <wolof@freemail.hu> wrote in message
news:20030127213839.96448.qmail@pb1.pair.com...
> "Scott Fletcher" wrote:
> > Double and Float are not exactly the same thing.
> >
> > Double is ---> 11.123
> > Float is ------> .00238823993
>
> I am absolutely new to PHP but what is above (since PHP seems to take most
> of its low-level terminology from C) is a fixed point number and the next
> is a floating point number, which may not fit into the 8 significant
digits
> what is guaranteed for a float on all platforms. What do I miss?
>
> WW
>
>