How to get a fraction from a float number?
<p>I have a floating point number:</p>

<pre><code>var f = 0.1457;
</code></pre>

<p>Or:</p>

<pre><code>var f = 4.7005
</code></pre>

<p>How do I get just the fraction remainder as integer?</p>

<p>I.e. in the first example I want to get:</p>

<pre><code>var remainder = 1457;
</code></pre>

<p>In the second example:</p>

<pre><code>var remainder = 7005;
</code></pre>
