Archives of the TeradataForum
Message Posted: Tue, 22 Jun 2004 @ 14:43:00 GMT
This will work for positive numbers. However, mathematically, negatives at .5 should round down. In other words, -2.5 becomes -3, not -2.
Personally, if I need a rounded values I always add/subtract the .5 (the precise decimal place is dependent on the required precision) and truncate.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|