How do I round to one place but force extra 0 so it looks like normal price?
<p>In JS How do I round to one place but force extra 0 so it looks like normal price?</p>

<p>There are many answers on the topic but what I want to achieve is to get rid of the pennies/cents last digit.
So for example instead of 15.98 I can show 16.00 or instead of 14.49 I can show 14.50.</p>

<p>The below rounds to one place but how do I force to show extra zero?</p>

<pre><code>c = Math.round(c_ft*10,2)/10
form.ans.value=c
</code></pre>
