title: How to check if a string represents a float number
body: <p>I'm using this to check if a variable is numeric, I also want to check whether it's a floating point number. </p>
  
  <pre><code>if(width.isnumeric() == 1)
  </code></pre>