Javascript: .9 repeating not rounding to 1
<p>This code usually works, converting a fractional score into a percentage with no decimal places:</p>

<p><code>$('.correct_percent').contents().replaceWith(((Math.round((correctCount/questionsInRound)*100)/100) * 100) + '%');</code></p>

<p>But when I try it where <code>questionsInRound</code> is 7 and <code>correctCount</code> is 4, I get 56.99999999999999%. I understand that floating point numbers are not precise, but is there a way around this? I considered using the <code>toFixed</code> method, but that would return 56% instead of 57%, and I feel like there might be a better way.</p>
