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 number ( hundred)

Author  Topic 

jung1975
Aged Yak Warrior

503 Posts

Posted - 2006-04-17 : 17:57:02
I'd like to round up the number by hundred.

For example,

1153 = 1200,
1144 = 1100

How can I do this?


tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-04-17 : 18:00:17
SELECT ROUND (1153, -2)
SELECT ROUND (1144, -2)

Tara Kizer
aka tduggan
Go to Top of Page
   

- Advertisement -