Thanks! Works like a charm.
Ed
On Tue, 4 Nov 2003, CPT John W. Holmes wrote:
> From: "Ed Curtis" <[EMAIL PROTECTED]>
> > I currently use number_format() and str_replace() to remove a "," or "$"
> > if entered and reformat it as a price for an item. I've asked the
> > user not to use decimal
From: "Ed Curtis" <[EMAIL PROTECTED]>
> I currently use number_format() and str_replace() to remove a "," or "$"
> if entered and reformat it as a price for an item. I've asked the
> user not to use decimals but some still do. How do I remove a decimal and
> anything after from a number in a vara
[snip]
I currently use number_format() and str_replace() to remove a "," or
"$"
if entered and reformat it as a price for an item. I've asked the
user not to use decimals but some still do. How do I remove a decimal
and
anything after from a number in a varable?
[/snip]
http://www.php.net/explod
I currently use number_format() and str_replace() to remove a "," or "$"
if entered and reformat it as a price for an item. I've asked the
user not to use decimals but some still do. How do I remove a decimal and
anything after from a number in a varable?
Thanks,
Ed
--
PHP General Mailing Li
4 matches
Mail list logo