>
> 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]