C#: Display error code if input has more than 2 decimals
<p>I´m trying to make a program in C# that is working like a cash register and I want to make it impossibe for the user to enter a number that has more than 2 decimals = x.12 is okay but not x.123</p>

<p>Thank you for all answers.</p>

<p>EDIT: Code examples would help alot. I´m not that good at programming nor English. =)</p>
