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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

truncate numbers 1

Status
Not open for further replies.

dswitzer

Technical User
Aug 2, 2002
298
US
2 questions (SQL2000):
1. how can I truncate the decimals:

3205.15 --> 3205
3199.99 --> 3199
3155.00 --> 3155

2. How can I round down to the hundreds:
3205.15 --> 3200
3199.99 --> 3100
3155.00 --> 3100

If someone can point me in the right direction, it would help.

Thanks.

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top