note 102070 added to function.bcadd
| From: | edison at osu1 dot php dot net | Date: | Wed, 26 Jan 2011 04:31:22 +0000 |
| Subject: | note 102070 added to function.bcadd | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-176317@lists.php.net to get a copy of this message | ||
But this function would not work if one of the two numbers doesn't have a decimal point. So if
you add 1 + 1, using this function, the result is 0. A little bit change of codes will do. But
thanks anyway, it's a great function. :)
----
Server IP: 69.147.83.197
Probable Submitter: 112.204.114.229
----
Manual Page -- http://www.php.net/manual/en/function.bcadd.php
Edit -- https://master.php.net/note/edit/102070
Del: integrated -- https://master.php.net/note/delete/102070/integrated
Del: useless -- https://master.php.net/note/delete/102070/useless
Del: bad code -- https://master.php.net/note/delete/102070/bad+code
Del: spam -- https://master.php.net/note/delete/102070/spam
Del: non-english -- https://master.php.net/note/delete/102070/non-english
Del: in docs -- https://master.php.net/note/delete/102070/in+docs
Del: other reasons-- https://master.php.net/note/delete/102070
Reject -- https://master.php.net/note/reject/102070
Search -- https://master.php.net/manage/user-notes.php