[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: boolean operators
- From: Doug Currie <doug.currie@...>
- Date: Thu, 21 Sep 2006 18:40:33 -0400
Thursday, September 21, 2006, 6:01:12 PM, David Jones wrote:
> Funny how no-one ever wants round-away-from 0, could be called
> "inflate" perhaps?
I just happen to be working on my decNumber documentation...
decNumber.ROUND_CEILING round towards +infinity
decNumber.ROUND_UP round away from 0
decNumber.ROUND_HALF_UP 0.5 rounds up
decNumber.ROUND_HALF_EVEN 0.5 rounds to nearest even
decNumber.ROUND_HALF_DOWN 0.5 rounds down
decNumber.ROUND_DOWN round towards 0 (truncate)
decNumber.ROUND_FLOOR round towards -infinity
:-) (to increase my smiley score!)