Doc #54442 [Opn->Fbk]: abs not working for particular numbers
| From: | aharvey@php.net | Date: | Wed, 06 Apr 2011 07:26:54 +0000 |
| Subject: | Doc #54442 [Opn->Fbk]: abs not working for particular numbers | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6193@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54442&edit=1
ID: 54442
Updated by: aharvey@php.net
Reported by: sumit dot kanugo at gmail dot com
Summary: abs not working for particular numbers
-Status: Open
+Status: Feedback
Type: Documentation Problem
Package: PHP options/info functions
Operating System: windows -xp
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2011-04-01 17:38:00] tomas dot brastavicius at quantum dot lt
Please, provide excpeted and actual results.
------------------------------------------------------------------------
[2011-04-01 13:29:23] sumit dot kanugo at gmail dot com
Description:
------------
abs function not working for some particular number
echo abs(-3300000.00);
echo abs(-3300001.00);
it is working fine for
echo abs(-3300000.01);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54442&edit=1