Easy way to check that something is a number w/ max 2 decimal places of accuracy?
<p>I want to make sure the input is A)a number and B)has at most 2 decimals.
<code>$number[$i]=int(100*$number[$i])/100;</code><br>
I imagine there is a more efficient way to do this... any suggestions? (using PHP).</p>
