When I do this calculation, 77 * 2.00 = 154.00 but with PHP, it return only
"154".  So, how do I set the precision value.  I looked up on PHP.net and it
once mentioned about BC Math but I'm not looking forward to recompiling PHP
and Apache with the prefix option to enable the BC Math.  There have to be a
function somewhere that I can set the decimal places in the numbers.  Like
....

--snip--

   echo whateverFunction("154",2);

--snip--

Then I would get 154.00 in responses.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to