Page 1 of 1

convert whole number to currency

Posted: Sun Feb 04, 2007 12:49 pm
by psychotomus
anyone know how to convert say 350 to $3.50 ?

Posted: Sun Feb 04, 2007 12:52 pm
by impulse()
350 / 100 ?

Posted: Sun Feb 04, 2007 1:41 pm
by superdezign
You're welcome to use decimals and format using number_format()