$var = number_format($var,0); On Wed, 2003-07-16 at 10:42, [EMAIL PROTECTED] wrote: > Hi All, > > I think it's a simple one but... Very hard for me! > > I've got prices in MYSQL. Field is formatted as INT(5,2).. So output is for example > 100.00 . Now i want to ECHO the field as 100.. How to achief this one? Because when > i'm echo'ing the field is shows up as 100.00 . > > Thanks for the help! > > Regards, > > Frank > > > ______________________________________________________________________ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt ([EMAIL PROTECTED]) Linux/Unix Network Administrator The Cryptocomm Group
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php