Javascript calculation gives too many zero digits
<p>I think it's time get some second opinions on the javascript I'm working on at the moment.</p>

<p>I'm trying to create a calculator to tell people if they can save money by using a subscription etc etc. The calculation itself is done by som inputs from the client and some prevalues from Umbraco CMS.</p>

<p>The result I get from the calculator at the moment is "right" in that the actual numbers are correct, but there's just too many zeroes in it. </p>

<p>The calculator can be found here: <a href="http://test.nuanceweb.dk" rel="nofollow">my calculator</a></p>

<p>The test data I'm using is the following:</p>

<ul>
<li>Antal ansatte: 4</li>
<li>Gennemsnitlig ordreværdi kr. (ca.): 400</li>
<li>Antal ordrer årligt (ca.): 5500</li>
<li>Overskudsgrad (hvad er det?): 2.7</li>
</ul>

<p>Which gives the output: 712800.0000000001</p>

<p>I tried to divide this by 100 and, of course, it just moved the comma/dot two steps the left. Still there's all those zeroes.</p>

<p>Any help/hint is greatly appreciated! :-)</p>

<p>Thanks in advance,</p>

<p>Bo</p>

<p>P.S. The result I'm looking for would be 7128.00</p>
