convert a number to the next 10,20,30 and so on
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4375636/php-nearest-ten-th-value">php nearest ten-th value</a>  </p>
</blockquote>



<p>i want a function simillar to <a href="http://php.net/manual/en/function.ceil.php" rel="nofollow">ceil</a> but to get the next 10,20,30,40,50,60,70,80,90,100 number</p>

<p>example:</p>

<pre><code>$x = 5;
echo theunction($x);
</code></pre>

<p>returns 10 and if <code>$x = 15.5;</code> it should returns 20 and so on</p>
