From:             [EMAIL PROTECTED]
Operating system: linux 2.2.12, apache 1.3.23
PHP version:      4.1.2
PHP Bug Type:     Variables related
Bug description:  wrong division: 18/21=0.857142857142861

echo (18/21);
returns 0.857142857142861.
right is 0.86;

my configure command: 
 './configure' '--prefix=/usr' '--with-config-file-path=/etc'
'--disable-debug' '--enable-pic' '--enable-inline-optimization'
'--with-apxs=/usr/sbin/apxs' '--disable-static' '--enable-shared'
'--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext'
'--with-gd' '--with-openssl'' -with-jpeg-dir=/usr' '--with-png'
'--with-zlib' '--with-gdbm' '--with-kerberos' '--with-imap-ssl'
'--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars'
'--enable-gd-imgstrttf' '--enable-yp' '--enable-ftp' '--without-mysql'
'--with-xml' '--with-ttf' '--with-gnu-ld' '--with-mysql=shared,/usr'
'--with-pgsql=shared,/usr' '--with-imap=shared,/usr' '--with-ldap=shared'
-- 
Edit bug report at http://bugs.php.net/?id=16511&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16511&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16511&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16511&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16511&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16511&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16511&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16511&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16511&r=submittedtwice

Reply via email to