From e6175d194c11eae72d083f5c0b2ee21243b9e237 Mon Sep 17 00:00:00 2001 From: bitsgalore Date: Thu, 19 Oct 2017 14:39:48 +0200 Subject: [PATCH] round timeInMinutes to 2 decimals --- jprofile/jprofile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jprofile/jprofile.py b/jprofile/jprofile.py index 69c5ca5..60b6f1c 100644 --- a/jprofile/jprofile.py +++ b/jprofile/jprofile.py @@ -514,7 +514,7 @@ def main(): # Elapsed time (seconds) timeElapsed = end - start - timeInMinutes = timeElapsed / 60 + timeInMinutes = round((timeElapsed / 60), 2) print("Elapsed time: " + str(timeInMinutes) + " minutes")