How to validate a decimal number to have precision exactly one?
<p>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..</p>

<ul>
<li><p>if user inputs 1 then it's invalid</p></li>
<li><p>if user inputs 0 then its invalid</p></li>
<li><p>if user inputs 1.0 then its valid</p></li>
<li><p>if user inputs 1.1 then its valid</p></li>
<li><p>if user inputs 1.11 then its invalid</p></li>
<li><p>if user inputs 100.1 then its valid</p></li>
</ul>

<p>How can I achieve this using C#(.net 3.5)?</p>

<p>Its a WPF textbox.</p>

<p>Thanks,
-Mike</p>
