Commas in a number

Status
Not open for further replies.
C

clau

Hi,

I want to know if there's a way to include commas in numerical values in a database. I have a lot of integer (INT) rows but I cannot include commas, so instead of 10,000 I can only enter 10000.

The reason I want this is because in the output, I want all numbers to have commas. Is there any way around this?

Thanks
 

matthewmurcia

White Belt
maybe you could put the comma in the output when you print the php. i'm not a php expert but i'm sure i've seen echo or print commands doint something very similar somewhere.
 
Status
Not open for further replies.
Top