Paul,
I just checked. It does leave the decimal place in there.
Stephen
----- Original Message -----
From: "Paul Johnston" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 12, 2003 5:23 PM
Subject: RE: [ cf-dev ] brain fluff
> >
> > CF is typeless, but not that typeless! A number with a comma
> > or currency sign is a string, not a number.
> >
> > Care of Taz :
> > <cfset MyNumber = ReReplace(MyNumberAsAString,
> > '[^\.|0-9]{0,}', '', 'ALL')>
>
> Erm... Just have to ask... If you have a decimal, surely that's going to
be
> removed?
>
> > This will remove all the stuff that isn't numeric and leave
> > you with purely a number.
>
> Just needed to check this! You actually need the decimal place in there!
>
> Paul
>
>
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]