From c64326cd06df0d7a3266b36d297abecff9c4991e Mon Sep 17 00:00:00 2001 From: nirenjan Date: Tue, 19 Feb 2013 15:00:03 -0800 Subject: [PATCH] Enhance precision in sdate display --- sdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdate b/sdate index 0ee3c69..9050c44 100755 --- a/sdate +++ b/sdate @@ -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.1f" % jd +print "%05.2f" % jd