> I need help with my error check
>
[quoted text clipped - 4 lines]
>
> spen2
How is the user providing the input to the square root calculation? Entering
the number in a text box?
Assuming the above, simply convert the string in the text property to the
largest number type you allow using Convert.To*****, then trap the user in a
while loop, reprompting for valid input until a satisfactory number is
entered.
If this is not your scenario, please provide details.

Signature
Peter [MVP Visual Developer]
Jack of all trades, master of none.