Problem with a if-statement
| From: | Kristian Nilsson | Date: | Mon, 18 Oct 1999 10:28:44 +0000 |
| Subject: | Problem with a if-statement | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11733@lists.php.net to get a copy of this message | ||
Hi !
I have a very strange problem with a if-statement:
if ( $variabel_1 == $variabel_2 ) {
}else{
}
Sometimes when the variables are (exactly) equal, the if-statement says
the opposite. The variables are of the same type (double) and have the
same numbers of decimals.
If someone have a clue of what it can be, please let me know.
Regards Kristian Nilsson