nurse_d_100
New Member
- Joined
- Nov 25, 2015
- Messages
- 3
Hello everyone,
I am trying to program a timesheet to take a staff members kilometres driven and convert it to a decimal using a 1minute = 1kilometre ratio. However where I work, we must express time in quarter hour decimals. 0.25=15 minutes, 0.5=30 minutes and so on.
Right now I am simply dividing the kilometres by 60 which gets me a random decimal number and then manually rounding that number to the nearest quarter hour.
Any help on this topic would be greatly appreciated.
Thanks
I am trying to program a timesheet to take a staff members kilometres driven and convert it to a decimal using a 1minute = 1kilometre ratio. However where I work, we must express time in quarter hour decimals. 0.25=15 minutes, 0.5=30 minutes and so on.
Right now I am simply dividing the kilometres by 60 which gets me a random decimal number and then manually rounding that number to the nearest quarter hour.
Any help on this topic would be greatly appreciated.
Thanks