in reply to Re: Fractional times in Date::Calc
in thread Fractional times in Date::Calc

I don't see how a fractional hour is ambiguous. Would there be a different way to interpret "1.25 hours" other than "1 hour and 15 minutes"? The only other way I could see interpreting that string would be to have it mean "1 hour and 25 minutes", that that's what 1:25 is for...:)

thor

Update: Corrected last sentence so that it actually makes sense

Replies are listed 'Best First'.
Re: Re: Re: Fractional times in Date::Calc
by Cody Pendant (Prior) on Aug 13, 2003 at 05:23 UTC
    Would there be a different way to interpret "1.25 hours" other than "1 hour and 15 minutes"?

    Well obviously, one hour and twenty-five minutes.

    You've got a system which is not decimal-based, and you're using it with decimals.



    ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print