note 82155 added to ref.bc

From: Date: Sat, 29 Mar 2008 11:40:07 +0000
Subject: note 82155 added to ref.bc
Groups: php.notes 
Request: Send a blank email to php-notes+get-137695@lists.php.net to get a copy of this message
Please be aware not to use/have spaces in your strings. It took me a while to find the error in some advanced calculations! <?php echo bcadd("1", "2"); // 3 echo bcadd("1", "2 "); // 1 echo bcadd("1", " 2"); // 1 ?> ---- Server IP: 195.184.64.198 Probable Submitter: 83.160.232.70 ---- Manual Page -- http://www.php.net/manual/en/ref.bc.php Edit -- https://master.php.net/note/edit/82155 Del: integrated -- https://master.php.net/note/delete/82155/integrated Del: useless -- https://master.php.net/note/delete/82155/useless Del: bad code -- https://master.php.net/note/delete/82155/bad+code Del: spam -- https://master.php.net/note/delete/82155/spam Del: non-english -- https://master.php.net/note/delete/82155/non-english Del: in docs -- https://master.php.net/note/delete/82155/in+docs Del: other reasons-- https://master.php.net/note/delete/82155 Reject -- https://master.php.net/note/reject/82155 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#137695) next »