At 10:59 AM 11/22/2002 -0600, you wrote: >I got the same result on CFMX. What I did though was just use the >LSParseCurrency function to parse it into a correct currency format: > ><cfset newCurrency = #LSParseCurrency(FORM.currency)#>
I had no idea that function existed! In the meantime, I used LSIsCurrencyFormat within A CFTRY block to trap the error (with $ and commas removed). I will try the LSParse and see how it works... Thanks! >----- Original Message ----- >From: "Alexander Sherwood" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Friday, November 22, 2002 10:35 AM >Subject: LSIsCurrency Bug?!?!?!?! > > > > The LSIsCurrency function returns "YES" when passed the following string: > > "125..25". > > > > Two periods? Since when is that a valid currency for the US/English >locale?! > > > > Anyone have any ideas? > > > > Thanks, > > > > ---------------------------------- > > Alex Sherwood > > PHS Collection Agency > > THE COLLECTORS > > 301.215.4200 T > > 301.664.6834 F > > www.phs-net.com > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com