round() problem
Igor Robul
igorr at speechpro.com
Thu Apr 13 06:00:12 UTC 2006
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 at 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.
More information about the freebsd-questions
mailing list