Hi folks,
I have some textboxes for the entry of numbers.
I am parseing the textbox contents into double variables for calculations in the TextChanged event.
I have already used the KeyPress events to prevent any character entry other than zero to nine, the back keys, and the decimal point.

But if more than one decimal point is entered, obviously the program throws an exception.

Does anyone know how this is usually dealt with to prevent a second decimal point in the textbox?

Thankyou for any advice.....