On Wed, Jul 31, 2002 at 07:24:05PM +0200, [EMAIL PROTECTED] wrote:
> On Wed, 31 Jul 2002, Stefan Esser wrote:
> 
> > should that be replaced with:
> > 
> > result->value.lval = (long)dval;
> > 
> > instead of calculating the multiplication again???
> 
> I think this is because of precision and the circumvention of rounding 
> errors.

Precision is questionable but rounding errors cannot be. Two integers
multiplied will always have .00 ... Infact i am nearly sure that double
precision is enough...

Stefan


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to