jQuery adding a number to text
<p>I am trying to do something I though would be really simple. add the value of 1 to a number.</p>

<p>However the number was plain text and things are getting a little confusing. As you may be able to guess, I am fairly new to this.</p>

<p>My goal is to add 1 point to an existing score, the score has one decimal place, eg 1.3.
So the desired result after adding a point is 2.3. However The current script I wrote is returning adds a point to the second decimal place and I don't understand why.</p>

<p>Thanks for the help.</p>

<pre><code>var getPoints = parseInt($('.awesome-points').text(), 10).toFixed(1);
alert(getPoints);
var addPoint = 1;
var newScore = getPoints + addPoint;
$('.awesome-points').text(newScore);
</code></pre>

<p>Mark</p>
