Yes, I've been caught out by this before The key is in the wording of the documentation
" Returns TRUE if string can be *converted* to a number" which is also the same reason why isDate() is useless! Kola >> -----Original Message----- >> From: Lovelock, Richard J [mailto:[EMAIL PROTECTED] >> Sent: 15 March 2004 10:55 >> To: '[EMAIL PROTECTED]' >> Subject: RE: [ cf-dev ] isnumeric() Question... >> >> yes agreed. perhaps it is a case of CF trying to be too (!?) clever? >> >> _______________________________________________________ >> * Regards, >> Richard Lovelock, >> Senior Application Analyst. >> Westminster City Council - Web Support >> Cap Gemini Ernst & Young >> Southbank >> 95 Wandsworth Road >> London >> SW8 2HG >> ( 0870 906 7482 >> >> _______________________________________________________ >> >> >> -----Original Message----- >> From: Tim Blair [mailto:[EMAIL PROTECTED] >> Sent: 15 March 2004 10:50 >> To: [EMAIL PROTECTED] >> Subject: RE: [ cf-dev ] isnumeric() Question... >> >> >> >> > or just do a simple replace on all " " for "_" perhaps? It >> > would certainly return false then...? >> >> You can just use val() on it to get the actual value, but it just seems >> counter-intuitive that you need both isnumeric() AND val() to make sure >> you've got a numeric value. As I see it, if the value contains *any* >> non-numeric characters, isnumeric() should return FALSE. >> >> Tim. >> >> -- >> ------------------------------------------------------- >> <CF_CodingContest mode="judging" newentries="false"> >> Maze Solver - http://tech.badpen.com/cfcontest/ >> ------------------------------------------------------- >> RAWNET LTD - Internet, New Media and ebusiness Gurus. >> WE'VE MOVED - for our new address, please visit our >> website at http://www.rawnet.com/ or call us any time >> on 0800 294 24 24. >> ------------------------------------------------------- >> This message may contain information which is legally >> privileged and/or confidential. If you are not the >> intended recipient, you are hereby notified that any >> unauthorised disclosure, copying, distribution or use >> of this information is strictly prohibited. Such >> notification notwithstanding, any comments, opinions, >> information or conclusions expressed in this message >> are those of the originator, not of rawnet limited, >> unless otherwise explicitly and independently indicated >> by an authorised representative of rawnet limited. >> ------------------------------------------------------- >> >> -- >> These lists are syncronised with the CFDeveloper forum at >> http://forum.cfdeveloper.co.uk/ >> Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> >> CFDeveloper Sponsors and contributors:- >> *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF >> provided >> by activepdf.com* >> *Forums provided by fusetalk.com* :: *ProWorkFlow provided by >> proworkflow.com* >> *Tutorials provided by helmguru.com* :: *Lists hosted by >> gradwell.com* >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> ======================================================= >> This message contains information that may be privileged or confidential >> and is the property of the Cap Gemini Ernst & Young Group. It is intended >> only for the person to whom it is addressed. If you are not the intended >> recipient, you are not authorised to read, print, retain, copy, >> disseminate, distribute, or use this message or any part thereof. If you >> receive this message in error, please notify the sender immediately and >> delete all copies of this message. >> ======================================================= >> >> >> -- >> These lists are syncronised with the CFDeveloper forum at >> http://forum.cfdeveloper.co.uk/ >> Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ >> >> CFDeveloper Sponsors and contributors:- >> *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF >> provided by activepdf.com* >> *Forums provided by fusetalk.com* :: *ProWorkFlow provided by >> proworkflow.com* >> *Tutorials provided by helmguru.com* :: *Lists hosted by >> gradwell.com* >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]
