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

Rouding to the nearest 50 1

Status
Not open for further replies.

jdgonzalez

Programmer
May 11, 2004
72
US
I'm hoping someone in the community can help me out with a problem I'm having. I'm trying to create a UDF that will round off a number to the nearest 50. I took a look at BOL using the round() function, but it doesn't do what I need it to.

Ex. 123.43 = 100 or 127.00 = 150.

Any help provided would be greatly appreciated.

J.D.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top