note 38567 deleted from function.is-nan by nlopess
| From: | nlopess@php.net | Date: | Sat, 27 Dec 2003 19:39:59 +0000 |
| Subject: | note 38567 deleted from function.is-nan by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62581@lists.php.net to get a copy of this message | ||
Note Submitter: Vincent
----
The weird thing about NaN is that its not even equal to itself!
Here is a simple function that would test for NaN.
<?php
function is_NaN($value) {
return ($value != $value)
}
?>