title: jquery extract float point number with 2 decimal places
body: <p>I want to extract a float number from a string with 2 or 3 decimal places after coma <strong>without rounding (not toFixed)</strong> in jquery</p>
  
  <p>Examples (2 decimals)</p>
  
  <pre><code>'43,999999' =&gt; 43.99
  '324324243,669' =&gt; 324324243.66
  '0,229' =&gt; 0.22
  '0,2' =&gt; 0.2 or 0.20
  '0.9' =&gt; 0.9 or 0.90
  </code></pre>
  
  <p>Examples (3 decimals)</p>
  
  <pre><code>'43,999999' =&gt; 43.999
  '324324243,669' =&gt; 324324243.669
  '0,229' =&gt; 0.229
  '0,2' =&gt; 0.2 or 0.200
  '0.9' =&gt; 0.9 or 0.900
  </code></pre>
  
  <p>I've tried [-+]?([0-9]*,[0-9]+|[0-9]+) but doesnt work</p>
  
  <p>Any regex expert? Thanks in advance</p>