note 75919 added to function.floor

From: Date: Thu, 21 Jun 2007 14:43:48 +0000
Subject: note 75919 added to function.floor
Groups: php.notes 
Request: Send a blank email to php-notes+get-127865@lists.php.net to get a copy of this message
Good catch Matthäus. After thinking about it a bit more, it seems there isn't an elegant solution. The only way to properly handle it is to do some string manipulation, chop it to a specific decimal length, potentially string pad it, then do your rounding and floor. ---- Server IP: 69.39.81.135 Probable Submitter: 64.179.71.163 ---- Manual Page -- http://www.php.net/manual/en/function.floor.php Edit -- https://master.php.net/note/edit/75919 Del: integrated -- https://master.php.net/note/delete/75919/integrated Del: useless -- https://master.php.net/note/delete/75919/useless Del: bad code -- https://master.php.net/note/delete/75919/bad+code Del: spam -- https://master.php.net/note/delete/75919/spam Del: non-english -- https://master.php.net/note/delete/75919/non-english Del: in docs -- https://master.php.net/note/delete/75919/in+docs Del: other reasons-- https://master.php.net/note/delete/75919 Reject -- https://master.php.net/note/reject/75919 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#127865) next »