yeah, sorry. this just happened in php3. I just meant that I remember having the same problem in Java and wasn't too sure how to deal with it then. the big problem is that I have these checks all over my production site. I guess the only thing to do is to round the variable unless you can think...
any thoughts on this?
Fatal error: Class declarations may not be nested in /www/php3_lib/security.php3 on line 13
line 13 is the first line after the class declaration.
thanks,
keith
hi
i've seen this problem when i took a java class:
$x = 1.8;
$y = 1.2;
if($x>$y*1.5) exit();
the above code will exit even though $x = $y*1.5
the difference between the two is : 2.2204460492503E-16
does anyone know why this happens? and more importantly,
any ideas on how to deal with this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.