Convert Input text Value to a two digit decimal Number with Jquery
<p>I have a Input Text Box with id=num. I give it a value 32.5687. I want to convert it to a Number like this 32.57. I tried the following Code that returns 32.57 then I test it's type with typeof() method that says it's a string not a Number.</p>

<pre><code>$(documnet).ready(function(){
    $nmuber = $("#num").val();
    $number = parseFloat($number).toFixed(2);
    alert(typeof($number));
});
</code></pre>

<p>What is my wrong or what would be the correct process to convert the text input value to a two digit decimal Number? </p>