probably treating the 'e' as exponent.  as for the 'd'.... not a freaking
clue!

-Jeff

-----Original Message-----
From: Kent Bulmer [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 4:28 PM
To: CF-Talk
Subject: isNumeric Trivia


Pardon me if this has been covered before but why does the code:

<cfoutput>
    #isNumeric('3D2')#<BR>
    #isNumeric('4E2')#<BR>
    #isNumeric('3424234E23')#<BR>
    #isNumeric('6456423D324')#<BR>
</cfoutput>

return 'YES' values? It will work with any combination of numbers as long as
there is at least one number in front of the letter and no more than three
numbers after a 'D' or two numbers after an 'E'. It doesn't seem to work
with any other letters...

-- 
Kent Bulmer
Application Developer
BMG Consultants Inc.
[EMAIL PROTECTED]
pers: http://www.embers.org/
work: http://www.networkcentrix.com/

"...only visiting this planet..." (Larry Norman)

FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to