Re: [PHP] INT Field in mysql display without .00

2003-07-16 Thread Adam Voigt
$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 ac

[PHP] INT Field in mysql display without .00

2003-07-16 Thread fkeessen
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!