Page 1 of 1

currency format in POST or Session variables

Posted: Tue Jul 14, 2009 9:28 pm
by podarum
I have a form that the user inputs variables, including some currency ones.. Even though in Dreamweaver I am able to chose currency format, it doesn't show up as such. In my process page the numbers still show up as eg. 12000 instead of $12,000.00 or $12,000 .. How can I convert them to currency format?

Re: currency format in POST or Session variables

Posted: Tue Jul 14, 2009 9:59 pm
by Christopher
See the manual for number_format() and money_format().