castealo a numeric(3,2)

El 1 de julio de 2009 10:09, Jhonny Velasquez
c.<[email protected]> escribió:
> tengo un campo de tipo real, pero cuando inserto un numero como 6.00 , solo
> me registra como 6
>
> he intentado darle formato con number_format($numero,2,'.',',')
>
> pero no funciona, alguna idea?
>
> gracias
>
> ________________________________
> check out the rest of the Windows Live™. More than mail–Windows Live™ goes
> way beyond your inbox. More than messages
--
TIP 4: No hagas 'kill -9' a postmaster

Responder a