I need to validate user input into a textbox to be a decimal number of precision exactly one? For example below are some of the cases..
if user inputs 1 then it's invalid
if user inputs 0 then its invalid
if user inputs 1.0 then its valid
if user inputs 1.1 then its valid
if user inputs 1.11 then its invalid
if user inputs 100.1 then its valid
How can I achieve this using C#(.net 3.5)?
Its a WPF textbox.
Thanks, -Mike