Re: Understanding intval() and types conversion
| From: | Jason Barnett | Date: | Wed, 26 Jan 2005 00:33:05 +0000 |
| Subject: | Re: Understanding intval() and types conversion | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207335@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
Jochem Maas wrote:<somewhat-back-on-topic> So knowing this... is the fractional math how the BC Math extension for PHP works? I'm really curious now. It certainly makes things more clear for me if this is the case. </somewhat-back-on-topic> -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://www.php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+pluginsBruce Douglas wrote:No, no, no. I'm going MUCH farther than that. I've claimed (and proved) that: 7.999... (repeating decimal) IS EXACTLY EQUAL TO 8.000... (repeating decimal)so... you're saying that 7.99999 (repeating) is equal to 8.0.... i say prove it.. as i recall the numbers might be for all practical purposes the same, they are in fact vastly different... so, prove your assertion...he did. you have to consider the two the same, given that there is always a limit to the level of precision - the alternative would be to say no 2 numbers are ever equal and that make for boring mathematics.