Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2006 09:59:41 +0400
From:      Igor Robul <igorr@speechpro.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: round() problem
Message-ID:  <20060413055941.GA73035@sysadm.stc>
In-Reply-To: <20060412093701.0309d4a6.wmoran@collaborativefusion.com>
References:  <20060412100917.GA1406@nakiel.dyndns.org> <20060412093701.0309d4a6.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 12, 2006 at 09:37:01AM -0400, Bill Moran wrote:
> On Wed, 12 Apr 2006 12:09:17 +0200
> Krzysztof Nakielski <nakiel@nakiel.net> wrote:
> 
> > Hi,
> > 
> > I am having problem with round() function in php, python, mysql. I am
> > not sure if thats FreeBSD issue. I receive the same results on 4.11, 5.4
> > and 6.0.
> > 
> > php (4.4.1, 5.1.2):
> > %php -r 'print round(8.075, 2) ."\n";'
> > 8.07
At least this gives 
php -r 'print round(8.075, 2) ."\n";'
8.08

under Mandriva Linux 2006.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060413055941.GA73035>