#24709 [NEW]: answer mistake
From: samikkic at hotmail dot com
Operating system: Windows XP All version
PHP version: 4.3.1
PHP Bug Type: Unknown/Other Function
Bug description: answer mistake
Description:
------------
i calculate 2.5%2 with this command
printf(2.5%2);
right answer must be 0.5
why answer equal 0 (zero)
Reproduce code:
---------------
printf(2.5%2);
Expected result:
----------------
0.5
--
Edit bug report at http://bugs.php.net/?id=24709&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24709&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24709&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24709&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24709&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24709&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24709&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24709&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24709&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24709&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24709&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24709&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24709&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24709&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24709&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24709&r=gnused
Thread (2 messages)
- samikkic at hotmail dot com