intval (2.05);

Valentin Petruchek (aki Zliy Pes)

http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
----- Original Message -----
From: "Jerry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 3:35 PM
Subject: [PHP] Integer in PHP


> Hi,
>
> I'm new in PHP, coming from JavaScript.
> In JavaScript you had the function parseInt which was really useful.
> For example parseInt("2.05") will return 2...
>
> How can I do that in PHP ?
>
> Thanks.
>
> Jerry
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to