> Nevermind, I found the answer, and why it wasn't working.  Now I was
> wondering how I can format a number to be a currency?  Like if
> $totalprice = 14.343 have it print 14.34.

Number_format() or printf()

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



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

Reply via email to