I have this formula in crystal that has a time calculation. It sums up the minutes then divides by 60 to get the number of hours.
I need to change this code so it will round up that value to the nearest 1/4 hour so if it calculates 5:05 it get rounded to 5:15 6:50 would be rounded to 7:00 and so on. Any ideas how to change that formula to accomplish that task ???
Code:
Formula=Cdbl(Sum ({@cRegular}, {usp_rptTimeSheet;1.Vehicle_Name})/60)
I need to change this code so it will round up that value to the nearest 1/4 hour so if it calculates 5:05 it get rounded to 5:15 6:50 would be rounded to 7:00 and so on. Any ideas how to change that formula to accomplish that task ???