It appears that you are getting fractions of 24 hours. Note that if you enter 24: the value of Ans is 1.0 and if you enter 12: the value of Ans is 0.50 Similarly 1: yields 0.04166 which is 1/24.Originally Posted by Cyberdude
Given those results, one would expect that 1:2 would be interpreted as 1 hr and 2 min or 1.0333 hours. And 1.0333/24 = 0.043055 which is what Ans is when 1:2 is entered.
Now why you got 0.04395 is a mystery.
If you want a REALLY interesting result, try something like -24:
InputBox does not normally interpret math or format symbols as anything other than characters. But in this case, the ":" is clearly being interpreted otherwise.