How to format a float number without rounding?
<p>I'm trying to format a float number (lets say 341.75) by setting the decimal point to "1". I tried:</p>

<pre><code>var num = 341.75;
alert(num.toFixed(1)); // output: 341.8
alert(num.toPrecision(1)); // output: 341.8
</code></pre>

<p>but what I need is 341.7 ! apparently both methods try to round it, is there a way to do that without rounding ? </p>
