Bug #4449: Mod computation error!

From: Date: Mon, 15 May 2000 08:48:18 +0000
Subject: Bug #4449: Mod computation error!
Groups: php.dev 
Request: Send a blank email to php-dev+get-18748@lists.php.net to get a copy of this message
From: ukustar@kimo.com.tw Operating system: FreeBSD PHP version: 3.0.16 PHP Bug Type: Other Bug description: Mod computation error! $a=2.01; echo ($a*100)%10; //output is "0", but it should be "1" $a=2.02; echo ($a*100)%10; //output is "2", this is correct! //I found most float variable are correct, //but few are incorrect.

« previous php.dev (#18748) next »