Re: FN-FORUM: PHP Float
date posted 5th August 2003 17:52
Rus Foster wrote:
> so I've got
> $no="123.321";
> I've tried B
> $foo= (int) ($no);
> but didn't work. Can someone give me a push please
Erm, despite what I posted earlier to give you other ways (int)$no
strips the decimal portion here anyway.
Cheers,
Pete
--
Peter Croft
PC Associates