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

Reply via email to