PHP 4.0 Bug #5453: Round() precision doesn´t work

From: Date: Sat, 08 Jul 2000 08:34:17 +0000
Subject: PHP 4.0 Bug #5453: Round() precision doesn´t work
Groups: php.dev 
Request: Send a blank email to php-dev+get-23777@lists.php.net to get a copy of this message
From: marten@jerbro.se Operating system: Linux - Debian Slink PHP version: 4.0 Latest CVS (08/07/2000) PHP Bug Type: Misbehaving function Bug description: Round() precision doesn´t work <? echo round(1.95583, 2); // Should output 1.96 ?> Snippet outputs: 1.9599999999999999645 Works with 4.0.1 but not latest CVS snapshot.

« previous php.dev (#23777) next »