title: javascript regexp - replace all floating point numbers in a string with rounded numbers
body: <p>Kind of basic javascript/regexp yet i just cant get it together right now.</p>
  
  <p>I have a string with floating point numbers </p>
  
  <pre><code>"m 135.969098800748,207.1229911216347 c -0.7762491582645,-0.2341987326806  -1.1870973239185,-1.1248369132174 -1.6826107603382,-1.6767899650268 z"
  </code></pre>
  
  <p>and i want to replace all floating point numbers with rounded numbers (Math.round)</p>
  
  <pre><code>"m 136,207 c -1,0  1,-1 -2,-2 z"
  </code></pre>
  
  <p>How to do that?</p>
  
  <p>thanks</p>