title: TextBox - Only allow Numeric and ONE full stop (representing a decimal number) VB.NET
body: <p>I have the following code, and am looking to add in the fact it can allow only one decimal point (full stop) to be added anywhere within the string.</p>
  
  <pre><code>If Asc(e.KeyChar) &lt;&gt; 8 Then
      If Asc(e.KeyChar) &lt; 48 Or Asc(e.KeyChar) &gt; 57 Then
          e.Handled = True
      End If
  End If
  </code></pre>
  
  <p>It will work by only accepting numeric numbers, so how can I incorporate ONE decimal point in this piece of code?</p>
  
  <p>Thanks</p>