how did they find out if the passed string is a number or not from the length. or is there a way to determine whether a string is a number from the length of the string. i m totally confused.