cpd Posted December 10, 2008 Share Posted December 10, 2008 I understand the baisics of the "round()" function however this is what i want to do. Say i had a value 4.7 i want to round down to 4. More Examples 5.3 down to 5 7.8 down to 7 How do i do this? Is it with the round function or something else? Quote Link to comment https://forums.phpfreaks.com/topic/136391-solved-round-function/ Share on other sites More sharing options...
premiso Posted December 10, 2008 Share Posted December 10, 2008 floor to round down ceil to round up. Quote Link to comment https://forums.phpfreaks.com/topic/136391-solved-round-function/#findComment-711667 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.