Re: Plain Number
| From: | Justin Patrin | Date: | Tue, 20 Jul 2004 00:22:11 +0000 |
| Subject: | Re: Plain Number | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191092@lists.php.net to get a copy of this message | ||
I would suggest just using str_replace.
On Mon, 19 Jul 2004 17:52:32 -0500, Jeff Oien <jeff@webdesigns1.com> wrote:
> Is there an easy way to make a number have no comma or decmal points?
> I've tried string replace with the comma but thought there would be a
> better alternative that I'm missing to cover more bases. number_format
> seems to add instead of take away items.
> Jeff
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> !DSPAM:40fc5c8246165620915879!
>
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--