How to restrict the User to put more than two decimal points on the Edit Text
<p>We have Edittext which can take Decimal value. So I have used </p>

<pre><code>android:inputType="numberDecimal"
android:numeric="decimal"  
</code></pre>

<p>Now EditText takes decimal values. My Query is can I control the user to enter only upto two decimal places?</p>

<p>For example <code>1345.99</code>, he cannot put more than two digit after decimal point.</p>
