Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Round Up

Author  Topic 

TallOne
Starting Member

49 Posts

Posted - 2006-08-13 : 14:36:09
Hello all,

If I use Select Round(9.4, 0) it returns 9.0 How do I round up if value is < 9.5? My goal is to return 10 if value > 9.0. I did a search but did not see anything? TIA
TallOne

nr
SQLTeam MVY

12543 Posts

Posted - 2006-08-13 : 14:54:19
Select ceiling(9.4)

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

TallOne
Starting Member

49 Posts

Posted - 2006-08-13 : 17:12:54
THANK YOU! That worked great!
Go to Top of Page
   

- Advertisement -