emehrkay Posted April 2, 2007 Share Posted April 2, 2007 i basically want to round to the nearest hundred value. im stumped. thanks Link to comment https://forums.phpfreaks.com/topic/45310-easy-round-5310-to-5300/ Share on other sites More sharing options...
dough boy Posted April 2, 2007 Share Posted April 2, 2007 round(5310, -2); Try that or see here: http://us.php.net/round Link to comment https://forums.phpfreaks.com/topic/45310-easy-round-5310-to-5300/#findComment-219995 Share on other sites More sharing options...
emehrkay Posted April 2, 2007 Author Share Posted April 2, 2007 thank you, i glossed right over the example with the negative precision Link to comment https://forums.phpfreaks.com/topic/45310-easy-round-5310-to-5300/#findComment-219998 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.