From owner-freebsd-questions@FreeBSD.ORG Thu Apr 13 06:00:12 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8830616A402 for ; Thu, 13 Apr 2006 06:00:12 +0000 (UTC) (envelope-from igorr@speechpro.com) Received: from speechpro.ru (speech-tech-2.ip.PeterStar.net [81.3.190.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB3AC43D45 for ; Thu, 13 Apr 2006 06:00:11 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from [192.168.2.26] (helo=sysadm.stc) by s1.stc with esmtp (Exim 4.53 (FreeBSD)) id 1FTusE-000KxM-IQ for freebsd-questions@freebsd.org; Thu, 13 Apr 2006 10:00:10 +0400 Received: from igorr by sysadm.stc with local (Exim 4.54 (FreeBSD)) id 1FTurl-000J0u-Dd for freebsd-questions@freebsd.org; Thu, 13 Apr 2006 09:59:41 +0400 Date: Thu, 13 Apr 2006 09:59:41 +0400 From: Igor Robul To: freebsd-questions@freebsd.org Message-ID: <20060413055941.GA73035@sysadm.stc> References: <20060412100917.GA1406@nakiel.dyndns.org> <20060412093701.0309d4a6.wmoran@collaborativefusion.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060412093701.0309d4a6.wmoran@collaborativefusion.com> User-Agent: Mutt/1.5.11 Sender: Igor Robul X-Archived: Yes Subject: Re: round() problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 06:00:12 -0000 On Wed, Apr 12, 2006 at 09:37:01AM -0400, Bill Moran wrote: > On Wed, 12 Apr 2006 12:09:17 +0200 > Krzysztof Nakielski 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.