Javascript operators could not compare integers with zeros (eg. 10, 100, 1000 etc)?
<p>The javascript operators in my program could not identify integers that ends with all zeros. For example it can't identify 10, 100, 2000, 90000 etc. Which also means any number with trailing 0's can't be read. It could identify and compare <code>20001</code> and such. </p>

<p>Sample code:</p>

<pre><code>if ((document.forms.frmApprovalTrainees.elements[TxtFldName].value) &gt; 100 )
{
 alert("Please enter approved quantity less than the requested"); 
   return false;
}
</code></pre>

<p>The <code>(document.forms.frmApprovalTrainees.elements[TxtFldName].value)</code> is supposed to retrieve the input value for validation. In the case above the operator identifies the <code>100</code> as <code>1</code>. Any idea how to solve this?</p>
