RE: [PHP] Round() behaviour issue

2003-12-16 Thread Ford, Mike [LSS]
On 16 December 2003 11:13, Scott McDaid wrote: > Hi there. I've been looking at the behaviour of the round > functionality in PHP. We're currently still using v4.2.3, (but the > documentation seems to > suggest it's the same for versions after this). > > Doing the following rounds always rounds *

Re: [PHP] Round() behaviour issue

2003-12-16 Thread Eugene Lee
On Tue, Dec 16, 2003 at 11:13:25AM +, Scott McDaid wrote: : : Hi there. I've been looking at the behaviour of the round functionality in : PHP. We're currently still using v4.2.3, (but the documentation seems to : suggest it's the same for versions after this). : : Doing the following round

[PHP] Round() behaviour issue

2003-12-16 Thread Scott McDaid
Hi there. I've been looking at the behaviour of the round functionality in PHP. We're currently still using v4.2.3, (but the documentation seems to suggest it's the same for versions after this). Doing the following rounds always rounds *up* to the nearest whole number. i.e. 0.5 => 1 1.5 => 2