Javascript - format number to 3 decimals : <p>trying to convert the number to a 3 decimals only but .toFixed(3) is being ignored. Any idea? Thx    </p>

<pre><code>output2=output2.split("\n").filter(/./.test, /Number/).map(line =&gt; line.split(/,|\(|\)/).filter(number =&gt; number != "")[8]).join("\n")*(0.00254).toFixed(3);
</code></pre>
