...

parseInt returns 0 instead of NaN

wac
02-11-2009, 08:30 PM
Not sure if this should be posted to the flex or flash forum.
I'm using parseInt to parse a string and when the string is not numeric,
I get 0 instead of NaN, so my isNaN() call always fails on the return.
Any ideas?

gnomeontherun
02-20-2009, 11:04 AM
Got code?

nikos101
02-20-2009, 11:17 PM
just use regex on your data.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum