[texhax] Time calculations within LaTeX?

Richard Hartmann richih.mailinglist at gmail.com
Sat Feb 9 15:27:42 CET 2008

On Feb 9, 2008 1:49 PM, E. Krishnan <ekmath at asianetindia.com> wrote:

> But I didn't have this issue.

I realized that this was because the second test case used 00 minutes, both
times. Now that the values are re-set every time, the initialization is not
needed, any more. Sorry for the false lead.

> Oops! Sort of overlooked that case. Here's the modification to take care
> of this:

Cool, thanks. There is one last issue, which does not hurt me, but if you
plan to put this somewhere (and you probably should. CTAN?), it should
probably be addressed:


results in 1.8, presumably because this is not a real float, but two integers
concat'ed with a dot in between. LaTeX probably eats the leading zeros as
it (normally) should.

Last but not least, do you know how I could make the other function
[the output of] your function as input? There must be some way, but I can't
find it :/

Thanks a lot!

More information about the texhax mailing list