note 37370 deleted from function.intval by vrana
| From: | vrana@php.net | Date: | Tue, 15 Mar 2005 13:55:55 +0000 |
| Subject: | note 37370 deleted from function.intval by vrana | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-86475@lists.php.net to get a copy of this message | ||
Note Submitter: raja dot shahed at christineNotdurfter dot taisten
----
This One should be the easiest example and helpful to new PHP users.use it to omit zero||zeros
begining number.
<?PHP
$customer_id = "0000030061971";
$truncate = intval($customer_id );
echo "$truncate";
/* Output 30061971 */
?>
Regards
RajaShahed