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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 02:01:29 2024 UTC