Here's the test code:
---------------------------------------------
<cfset myvariable = "3D1">
<cfoutput>
<p>#IsNumeric('3D1')#</p>
<p>#myvariable#</p>
<p>#IsNumeric(myvariable)#</p>
</cfoutput>
This returns:
Yes
3D1
Yes
---------------------------------------------
WTF?!? Shouldn't I be seeing No, 3D1, No? Is it evaluating "3D1" as a
binary or hex value of some kind? Why is it passing an IsNumeric test? I'm
running 4.5.1SP2.
Interestingly, 3A1, 3B1, 3C1, and 3F1 all fail, but 3E1 produces the same
result.
Thanks,
Evan
--
-=-=-=-=-=-=-=-=-=-
Evan Lavidor
Circle.com Boston
Tel: 617-585-3107
Fax: 617-585-3091
-=-=-=-=-=-=-=-=-=-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists