Fix stardate script to truncate instead of round

vimbundler
nirenjan 2013-05-01 22:43:36 -07:00
parent b9098890e3
commit 9d02e9d8d0
1 changed files with 1 additions and 1 deletions

View File

@ -12,5 +12,5 @@ t = time.time()
jd = (t / 86400.0 + 40587.5)
# Use the idea that 10 Julian days is equal to 1 stardate
print "%05.2f" % jd
print ("%05.3f" % jd)[:-1]