Woodburn2006 Posted January 22, 2008 Share Posted January 22, 2008 if i have a number like 27.6589365 or 3.496032 how do i round these off to 1 decimal place? Quote Link to comment Share on other sites More sharing options...
sasa Posted January 22, 2008 Share Posted January 22, 2008 look function round() Quote Link to comment Share on other sites More sharing options...
tapos Posted January 22, 2008 Share Posted January 22, 2008 Use http://www.php.net/manual/en/function.round.php -- Thanks, Tapos Pal http://tapos.wordpress.com Quote Link to comment 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.