*** StinkFinger escribió/wrote (Sat, 4 Sep 2004 12:52:20 -0800):
> $p = explode(".", $price); // $price is returned from the db in this format
> 10.00
If you want to truncate the price just use (int)$price in your formula. I
just wonder why you don't round().
--
--
-+ Álvaro G. Vicario - Burgos, Spain - ICQ 46788716
+-
http://www.demogracia.com (la web de humor para mayores de 100 años)
++ «Sonríe, que te vamos a hacer una foto para la esquela»
--