Is the number in a String? Or in an int? Which one you work with will make a big difference in the code.