is there a ceil() alternative to turn 6523.70 to 6523 and not turn 6523.20
<p>the function of ceil() in php is not useful in my case, because i want if the number contains from 0.50 to 0.99 then it's will ceil it, if it's smaller than 0.50 it's will not do anything.</p>

<p>example:</p>

<p>6523.70 will be 6524</p>

<p>but</p>

<p>6523.49 will stay same.</p>

<p>i hope you got it guys :)</p>

<p>Thanks</p>
