ID:               37150
 Updated by:       [EMAIL PROTECTED]
 Reported By:      simon dot grenier at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Math related
 Operating System: windows xp pro sp2
 PHP Version:      5.1.2
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.


Previous Comments:
------------------------------------------------------------------------

[2006-04-20 16:37:15] simon dot grenier at hotmail dot com

Description:
------------
the mod operation in php return only the integer part of the result.

Reproduce code:
---------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Grade Activity 3</title>
</head>

<body>
<?php
echo 23.8%23;
?>
</body>
</html>


Expected result:
----------------
0.8

Actual result:
--------------
0


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37150&edit=1

Reply via email to