note 13724 added to function.bcdiv.php

From: Date: Fri, 29 Jun 2001 22:33:40 +0000
Subject: note 13724 added to function.bcdiv.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14805@lists.php.net to get a copy of this message
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 http://www.php.net/manual/en/function.bcdiv.php

« previous php.notes (#14805) next »