Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,570
- Office Version
- 365
- 2016
- Platform
- Windows
In my code, I run into values of a variable (tdur) representing duration (in hours) .
These are some examples:
0.53
1.53
2.11
1.06
1.32
2.64
0.26
I would like to round these to the nearest 30 minutes. So, with these example:
0.5
1.5
2.0
1.0
1.5
3.0
0.5
I thought it was more simple than it is.
These are some examples:
0.53
1.53
2.11
1.06
1.32
2.64
0.26
I would like to round these to the nearest 30 minutes. So, with these example:
0.5
1.5
2.0
1.0
1.5
3.0
0.5
I thought it was more simple than it is.