Integer in PHP
| From: | Jerry | Date: | Mon, 21 Jan 2002 13:35:34 +0000 |
| Subject: | Integer in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81355@lists.php.net to get a copy of this message | ||
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