title: Getting decimals from text element
body: <p>I have an HTML element ("summary-payment") which contains the text: "Pay £100.00", for example.</p>
  
  <p>I have managed to get the number 100 from this, as follows: </p>
  
  <pre><code>function getPaymentAmount(paymentAmount) {
      var stringTotal = $("#paymentBtn").text();
      var extractIntFromTotal = stringTotal.match(/\d+/)[0];
      return extractIntFromTotal;
  }
  </code></pre>
  
  <p>However, I'd like to get the decimal 100.00 back. I have tried adding onto the index but this doesn't seem to work. Can anyone please help? I am very new to javascript.</p>
  
  <p>Thank you :)</p>