|
|
 |
Re: FN-FORUM: PHP Float
date posted 5th August 2003 17:45
Rus Foster [EMAIL REMOVED] wrote:
> Last questions for the day. I've got a string that say could be 123.4 =
or
> 123.323. How would I get it to 123.00. I've got the number in a variabl=
e
> =
> so I've got
> $no=3D"123.321";
> =
> I've tried B
> $foo=3D (int) ($no);
That seems to work for me.
-Paul-
-- =
Paul Civati www.xensia.net
Xensia, London UK - Quality UK Hosting Services
|
 |
|