RE: [PHP] String 2 Number
| From: | Rudolf Visagie | Date: | Wed, 10 Oct 2001 11:41:17 +0000 |
| Subject: | RE: [PHP] String 2 Number | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-70631@lists.php.net to get a copy of this message | ||
By typecasting:
$b=(int)$a;
Rudolf Visagie
rudolf@dhsolutions.co.za
-----Original Message-----
From: Saied Gerami [mailto:gerami@d21.de]
Sent: 10 October 2001 01:31
To: php-general@lists.php.net
Subject: [PHP] String 2 Number
Hi,
Does anybody know how can I change a string containing only digits (like
"3451") to number?
Thanx,
Saied
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net