note 74807 added to function.round

From: Date: Sat, 28 Apr 2007 00:01:29 +0000
Subject: note 74807 added to function.round
Groups: php.notes 
Request: Send a blank email to php-notes+get-125936@lists.php.net to get a copy of this message
In response to maxteiber at gmail dot com, regarding rounding 141.075 to 2 decimal places: I can justify your computer for rounding it to 141.07. It's following a rounding rule similar to the "significant figures" rules in science. Try rounding 141.0751 or 141.0756. ---- Server IP: 69.39.81.135 Probable Submitter: 66.246.164.3 ---- Manual Page -- http://www.php.net/manual/en/function.round.php Edit -- https://master.php.net/note/edit/74807 Del: integrated -- https://master.php.net/note/delete/74807/integrated Del: useless -- https://master.php.net/note/delete/74807/useless Del: bad code -- https://master.php.net/note/delete/74807/bad+code Del: spam -- https://master.php.net/note/delete/74807/spam Del: non-english -- https://master.php.net/note/delete/74807/non-english Del: in docs -- https://master.php.net/note/delete/74807/in+docs Del: other reasons-- https://master.php.net/note/delete/74807 Reject -- https://master.php.net/note/reject/74807 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#125936) next »