Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ROUNDUP Function 2

Status
Not open for further replies.

GUMDO

Programmer
Jan 17, 2002
4
US
Hi,

Any ideas on how to RoundUp in Teradata? I'm having a hard time since I can't even use Round and Cast only rounds down.

Ideas would be greatly appreciated.
 

-- takes a number and rounds to the nearest .05
select (cast ( X / .5 as decimal (5,1))) * .5

X = variable
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top