php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24709 answer mistake
Submitted: 2003-07-18 14:31 UTC Modified: 2003-07-18 14:41 UTC
From: samikkic at hotmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.1 OS: Windows XP All version
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: samikkic at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-07-18 14:31 UTC] samikkic at hotmail dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-18 14:41 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 13:01:33 2025 UTC