I'm trying to calculate a area. and whant to read an ipnut for the radius from the user, but it has to bee only two decimal place. How can I know the input is two or more decimla. and if the user enter an number that is more than two decimal it has throw and error and reprompt the user to enter again but it does have to be exeption handling.
Thanks for nay help.
This post has been edited by ahbrahim2: 21 September 2010 - 12:31 PM