I am adding up the number of hours that the user selects in a work week schedule. That works fine but I need it to subract an hour or half hour lunch per day depending on what they choose. So if they choose 2 1/2 hours of lunch time I need to subtract 2.5 hours from the total. I have a list box for the number of hours they can choose for lunch and the values are integers so I need to convert the integer to a timespan to subtract from the total hours. Or I'm sure there is another simpler way to do this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.