note 13724 rejected from function.bcdiv by didou

From: Date: Thu, 22 May 2003 15:47:31 +0000
Subject: note 13724 rejected from function.bcdiv by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48827@lists.php.net to get a copy of this message
Note Submitter: bruno@brunom.net ---- It seems like the scale parameters leads to a rounding error while bcdiv'iding a number: correct: 105/6.55957 returns 16.007146809928 2-dec rounded should be: 16.01 bcdiv: bcdiv(105, 6.55957, 2) returns 16.03 What's the problem with my use of bcdiv

« previous php.notes (#48827) next »