> 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
>
If by no comma or decimal poi
I would suggest just using str_replace.
On Mon, 19 Jul 2004 17:52:32 -0500, Jeff Oien <[EMAIL PROTECTED]> 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
[snip]
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.
[/snip]
number_format($theNumber, 0,
3 matches
Mail list logo