Nope, comma's never been part of a number in CF... It uses US formatted numbers (as far as I'm aware), but discluding commas. I believe this is a pretty standard format for numbers in computing languages... But because humans like to format their numbers we have LSParseNumber() and LSParseCurrency() to convert user-provided values with commas and such into machine numbers with the appropriate format for CF to treat them as numeric values. I don't use LSParseNumber() or LSParseCurrency() myself as I don't prefer to rely on CF's localization features, partly because they don't allow you to override the default locale without _setting_ the default locale using SetLocale() so I implemented my own localization methods using Java which accept the locale as an optional argument with a request-based default.
> I have to snicker at the irony of this being a *new* > bug in CF7...I'm still using 4.5.2! :o) > Rick >> -----Original Message----- >> From: Eric Roberts >> [mailto:[EMAIL PROTECTED] >> Sent: Monday, March 06, 2006 10:30 PM >> To: CF-Talk >> Subject: RE: Ok, I give...how can I do this... >> >> >> I think it should. I have been having similar probs >> lately with CF7 where >> numbers that have commas in them are viewed as strings. >> I don't ever >> remember having this prob with previous versions...is >> this a new >> bug in 7? >> >> Eric >> >> -----Original Message----- >> From: Rick Faircloth [mailto:[EMAIL PROTECTED] >> Sent: Monday, 06 March 2006 17:56 >> To: CF-Talk >> Subject: Ok, I give...how can I do this... >> >> Should a field entry of "1,000" validate as a numeric? >> >> e.g. IsNumeric(Form.Dollars) >> >> (Where Form.Dollars has a value of "1,000) >> >> Rick >> >> >> >> >> >> >> >> >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234399 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

