How can I get the precision of a decimal in js?
<p>This is probably a super easy thing to solve, but I just can't think of an elegant solution right now.</p>

<p>Given the following numbers, how do I find the precision (.0001) of each number. </p>

<pre><code>126.01
1.3450
</code></pre>

<p>Update:
The number of digits after the decimal. </p>

<p>The output from the top two numbers would be.</p>

<pre><code>.01
.0001
</code></pre>
