Link to home
Start Free TrialLog in
Avatar of BR
BRFlag for Türkiye

asked on

showing numeric numbers

I use php and mysql database
I have a price table, which has price coloumn decimal(8,2),
when I select price from database, the output is like 1200.85
however I'd like to show it like 1,200.85 or 1.200,85
how can I do that?

should I use string functions? But this is not string, this is numeric.
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BR

ASKER

thank you so much Ray Paseur.