![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 19 May 2004 @ 09:10:48 GMT
Hi Rachel, You need to cast your answer to decimal(1,0) to get the rounding you want. Try this:
select cast(2.50001 as decimal(10,0))
Unfortunately, Teradata rounds down from 0.5 not from 0.4. Sonny.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||