I just found the answer

-----Original Message-----
From: cj [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 11:07 AM
To: Php-List (E-mail)
Subject: [PHP] numbers


G'day all

I have a calculation which gives me a number ie 6976587.4169922
This number is works outed by dividing a variable with 1024

Is there any way to strip anything after the .
so I just want the number 6976587 and not anything after the .

Thanks
CJ

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to