title: asp net comparevalidator type double datatypecheck allows incorrect values
body: <p>ASP NET 4.0 on win 7</p>
  
  <p>If I implement a CompareValidator like this:</p>
  
  <pre><code>&lt;asp:CompareValidator ID="cmprValidatorDoubleType" ControlToValidate="TextBox10" Type="Double" Display="Dynamic" Operator="DataTypeCheck" ErrorMessage="*Not a valid number." runat="server"&gt;&lt;/asp:CompareValidator&gt;
  </code></pre>
  
  <p>It will accept values such as "5." (without the quotation marks) values without decimals. Is this a normal and expected behaviour?</p>