title: Get decimals & absolutes from a array in java script
body: <p>This is an <code>array = [&quot;1.40954&quot;, &quot;101&quot;, &quot;5.1028&quot;, &quot;2000&quot;, &quot;70.38&quot;]</code>. What can I do to get these array into two array like, <code>decimal = [&quot;1.40954&quot;, &quot;5.1028&quot;, &quot;70.38&quot;]</code> and <code>absolute = [101, 2000]</code> in javascript?</p>