[thelist] PHP is_nan

Daan Heemskerk Daan_Heemskerk at hetnet.nl
Wed Jul 2 17:27:56 CDT 2003


No, ( shit I'm new and in to it ... ),

N.A.N. is a value of a floating point number wich is the result of some
invallid opperatyion like 11/0. Integers and strings cant be N.A.N. They are
0, database NULL or empty or invallid pointers. N.A.N. is only defined by
your floating point proccessor.

Daan

P.s. I'm here to learn about internet; ask me everything about databases or
proccessors or math or physics. Learn me everything about web-sites.

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org]On Behalf Of fstorr
Sent: woensdag 2 juli 2003 23:25
To: thelist at lists.evolt.org
Subject: RE: [thelist] PHP is_nan


> is_nan expects a floating point number. What version of PHP?

+++

Hi

PHP version 4.3.1

Is not is_nan a test whether a variable is a number or not?  If so, why
does it expect a floating point number?

Regards

F




--
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

Evolt.org conference in London, July 25-27 2003.  Register today at
http://evolt.org.uk

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !



More information about the thelist mailing list