Re: [PHP] Plain Number

2004-07-19 Thread Matthew Sims
> 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

Re: [PHP] Plain Number

2004-07-19 Thread Justin Patrin
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

RE: [PHP] Plain Number

2004-07-19 Thread Jay Blanchard
[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,