Custom Javascript
I have a column labeled "Number of Round Trips" for a monthly mileage report. Each field is labeled Trips1 through Trips31. I need to be able to calculate the number of days the vehicle is used. It would be an easy calculation if there were 30 - round trips and only one - 1/2 trip. How would one configure the JavaScript so that each 1/2 trip calculates as 1 day? For example, how can I calculate 27- round trips and 4 - 1/2 trips to be 31 days and not 29 days?
