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!

Round number to nearest .25 1

Status
Not open for further replies.

juliam921

Programmer
May 23, 2002
13
US
Does anyone know how I can take a value and round it to the nearest .25? I have values like 1.33 and .40 and 5.20 and they need to be in quarters (1.25, .5, 5.25). It is a time entry value and they need to be displayed in the nearest quarter hour increments.
Thanks.
Julia
 
Thank you! I feel stupid for not thinking of that!
Julia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top