> -----Original Message-----
> From: Mike Flynn
> Sent: Tuesday, April 09, 2002 1:30 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Rounding
> 
> 
> At 09:43 PM 4/8/02 +0100, Ross Fleming wrote:
> >Multiply by 100, take the absolute value and divide by 100 again
> 
> That will round down to 2 decimal places.  To round to the nearest 2 
> decimal places, to what Ross said but instead of getting the absolute 
> value, just round it normally.

What's "normal" rounding??????

One can round with a roof function, or one can round with a sealing function,
or one can round always towards odd numbers, or always even number, or one can
round by adding or subtracting a factor 0,5 to the multiple before rounding,
or one can use a combination of the above, so I am curious about to know what's
normal, and why it is normal then?


        //Anders - former financial programmer....
 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to