Wednesday, January 9, 2008

function to check Nan(Not A Number)

function isNaN( $var ) {
return !ereg ("^[-]?[0-9]+([\.][0-9]+)?$", $var);
}

No comments:

Post a Comment

Please put your comments here. your questions, your suggestions, also what went wrong with me.