Hi, i was wondering if there was a way to determine the variable type of a number taken from a user input. For example:
This is just for general knowledge so i don't have any real exmaple to give, but that's the basic idea.Code:if(input == float) { Do something; } else if(input == short || int || long) { Do something else; }
Thanks.