Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kafine

  1. kafine

    float multiplication

    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...
  2. kafine

    fatal error: nested classes

    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
  3. kafine

    float multiplication

    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...

Part and Inventory Search

Back
Top