Re: Math Weirdness - Can it be done with integers alone??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There's an algorithm known as banker's rounding that I thought all US
banks used. I'm on blackberry right now so I don't have a pointer, but
essentially you round to the nearest even cent. 1.5 goes to 2, as does
2.5.

Waynn



On 7/15/08, tedd <tedd.sperling@xxxxxxxxx> wrote:
> At 4:15 PM -0400 7/14/08, Robert Cummings wrote:
>>
>>
>>Nope, banks can't round like that when calculating your daily
>>interest :)
>>
>>Cheers,
>>Rob.
>
> I do know that when it comes to interest you pay them, they round up.
> When it comes to interest they pay you, they round down -- and why
> not? A decision has to be made -- you can't pay someone less than a
> penny.
>
> Cheers,
>
> tedd
>
> --
> -------
> http://sperling.com  http://ancientstones.com  http://earthstones.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux