mattm1712 Posted May 21, 2012 Share Posted May 21, 2012 hi know who to round a number to the nearest whole number, if i use echo round(9.5); it echo's 10 and if i use echo round(9.2); it echo's 9 i want it so it always rounds up? can anyone help? cheers matt Link to comment https://forums.phpfreaks.com/topic/262877-round-every-value-up/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 21, 2012 Share Posted May 21, 2012 ceil Link to comment https://forums.phpfreaks.com/topic/262877-round-every-value-up/#findComment-1347321 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.