Date: 10/05/01
- Next message: Phil Driscoll: "Re: [PHP-DOC] install.xml en"
- Previous message: Hojtsy Gabor: "Re: [PHP-DOC] cvs: phpdoc / global.ent /en/chapters install.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 13551
Updated by: derick
Reported By: mlemos <email protected>
Status: Analyzed
Old Bug Type: BC math related
Bug Type: Documentation problem
Operating System: Linux 2.2.18
PHP Version: 4.0.6
New Comment:
It's not a bug, but a feature (tm). BC only works with integer values, and all arguments must be integer values.
However, the documentation is not quite clear here.
Derick
Previous Comments:
------------------------------------------------------------------------
[2001-10-04 19:49:04] mfischer <email protected>
Confirmed with latest CVS. Either the documentation is wrong or the implementation. Both won't need rocket sience to fix ...
Btw, this seems to be true for all bc*() functions.
Probably the documentation isn't clear enough about the current behaviour. Andi?
- Markus
------------------------------------------------------------------------
[2001-10-04 19:18:17] mlemos <email protected>
BC functions apply decimal places also on arguments but it should only apply them on the result.
For example bcmul('8.78','100',0) should return 878 and not 800 as it does now.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13551&edit=1
- Next message: Phil Driscoll: "Re: [PHP-DOC] install.xml en"
- Previous message: Hojtsy Gabor: "Re: [PHP-DOC] cvs: phpdoc / global.ent /en/chapters install.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

