JS Settype like PHP
<p>I have variable on my JS <code>qty</code>, the type is string.
How to change it into <code>integer or float</code>?</p>

<p>in PHP we have settype, try the same way with JS. it not work.</p>
