is there a ceil() alternative to turn 6523.70 to 6523 and not turn 6523.20

thedarklord

New Member
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.example:6523.70 will be 6524but6523.49 will stay same.i hope you got it guys :)Thanks
 
Back
Top