Skip to content
Snippets Groups Projects
Commit 6d7b007e authored by Bruce Flynn's avatar Bruce Flynn
Browse files

Make sure to do float division

parent cf266471
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ def cds_to_timestamp(days, millis, micros, epoch): ...@@ -20,7 +20,7 @@ def cds_to_timestamp(days, millis, micros, epoch):
""" """
CDS to unix timestamp seconds. CDS to unix timestamp seconds.
""" """
return epoch + (86400 * days) + (millis / 1000.) + (micros / 1000000) return epoch + (86400 * days) + (millis / 1000.) + (micros / 1000000.)
def cds_stamp(days, millis, micros, epoch=JPSS_EPOCH): def cds_stamp(days, millis, micros, epoch=JPSS_EPOCH):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment