ID: 13551
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Analyzed
Bug Type: BC math related
Operating System: Linux 2.2.18
PHP Version: 4.0.6
New Comment:

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

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

[2001-10-04 19:18:17] [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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to