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? Link to comment https://forums.phpfreaks.com/topic/87217-decimal-points/ Share on other sites More sharing options...
sasa Posted January 22, 2008 Share Posted January 22, 2008 look function round() Link to comment https://forums.phpfreaks.com/topic/87217-decimal-points/#findComment-446104 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 Link to comment https://forums.phpfreaks.com/topic/87217-decimal-points/#findComment-446107 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.