|
|
 |
FN-FORUM: PHP Float
date posted 5th August 2003 17:38
Hi All,
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 variable
which I then went to put into another varible (this case a session
handeler)
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
Rgds
Rus
--
w: http://www.jvds.com | Linux + FreeBSD VDS's from $15/mo
e: [EMAIL REMOVED] | Totally Customizable Technology
t: 07919 373537 | General FreeBSD Forums:
10% donation to FreeBSD | http://forums.jvds.com/viewforum.php?f=7
|
 |
|