Leute ich glaub ich raffs nichtmehr!
FEHLER-SCRIPT:
http://mitarbeiter.salzburg.seminar-...rack/kakke.php
200 - 200 ist meiner Meinung nach 0, und nicht 1.70530256582E-13!
Wer weis wo der Fehler liegt?
Vielen Dank im Voraus.
Michael Rack
FEHLER-SCRIPT:
http://mitarbeiter.salzburg.seminar-...rack/kakke.php
200 - 200 ist meiner Meinung nach 0, und nicht 1.70530256582E-13!
Code:
<pre> <?PHP // Scriptlocation: // http://mitarbeiter.salzburg.seminar-...rack/kakke.php for( $x = 4; $x > 2; $x-- ) { $a = 2.2; $b = floor(2.2); $intDoubleDetection = ($a - $b) * 1000; var_dump( $a, $b, $intDoubleDetection, floor($intDoubleDetection), (int)$intDoubleDetection, ($intDoubleDetection - (int)$intDoubleDetection) ); exit(); } ?> </pre>
Vielen Dank im Voraus.
Michael Rack

Kommentar