Correct, I meant val(), not int() >>>the nice thing about this is that if "URL.userID" isn't an integer, >int() returns 0 > >Are you sure you're using the function int() ? >I tried, and if the argument is not a number, the function does not >return 0, but throw an error. >And if the parameter is not an integer, but a real number, it return the >closest integer value, >not 0, It is the purpose of the function. > >You probably meant using the val() function. > >-- >_______________________________________ >REUSE CODE! Use custom tags; >See http://www.contentbox.com/claude/customtags/tagstore.cfm >(Please send any spam to this address: [EMAIL PROTECTED]) >Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286198 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

