You want even more stupid?

Here it is:

"isNumeric (string) Returns TRUE if string can be converted to a number; otherwise, 
FALSE. "

Then for instance isnumeric("05/25/2003") returns "NO", of course, since "05/25/2003" 
is not a number,
it is a string and it cannot be converted to a number.

Fine,... But then how come isnumericDate("05/25/2003") returns "YES" ?
How come "05/25/2003" can be a numeric date if is is not numeric???

OK. I suppose CF tried again to guess and converted "05/25/2003" to a date first?
But according to the docs, the function IsNumericDate(number) expects a number, not a 
date,
so why didn't CF try to convert the parameter to a number instead of a date?
If it had done so, it would have find that "05/25/2003" cannot be converted to a 
number,
therefore isnumeric("05/25/2003") should be "NO".

You want more?
here is more:

isnumericDate(now()) = YES
isnumeric(now()) = NO

So a date is a numeric date value, but it is not numeric ???

Now PLEEEEEASE Macromedia, could you pay your programers some kind of "date 101"
elementary course and correct all these kind of gross errors?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137791
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to