Need help from a python wizard

Hal Murray hmurray at megapathdsl.net
Mon Dec 4 22:51:53 UTC 2017


            days = int(last) / 86400
            seconds = last - days*86400

I've kludged some printing.
days is a float, for example: 17504.9482755

is int/int supposed to result in an int or a float?

I expected it to be an int.  This code used to work.  Trying by hand, I get 
an int...


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list