Round with ONE-decimal... always...

From: Date: Mon, 12 Sep 2005 08:52:22 +0000
Subject: Round with ONE-decimal... always...
Groups: php.general 
Request: Send a blank email to php-general+get-222157@lists.php.net to get a copy of this message
Hi there! I want to adjust the round() -function a little... If I put round(6,0) there will be an output of 6 If I put round(6,32) there will be an output of 6,3 I want it to have 6,0 instead of just 6... I guess there is an easy solution to this? Suggestions? /G http://www.varupiraten.se/

« previous php.general (#222157) next »