[chronojump] Fixed compujump sprint t1,t2,t3,t4 ms -> s



commit 884e3215281278c1c9fced3718e2d4494c2f380c
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Apr 27 12:08:58 2018 +0200

    Fixed compujump sprint t1,t2,t3,t4 ms -> s

 src/sprint.cs |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/sprint.cs b/src/sprint.cs
index 1b5acc4..5559760 100644
--- a/src/sprint.cs
+++ b/src/sprint.cs
@@ -130,12 +130,9 @@ public class Sprint
                List<double> splitTimesList = new List<double>();
                foreach(string time in splitTimesArray)
                {
+                       //in seconds
                        double timeD = Convert.ToDouble(Util.ChangeDecimalSeparator(time));
 
-                       //convert from milliseconds to seconds
-                       if(timeD > 0)
-                               timeD /= 1000;
-
                        splitTimesList.Add(timeD);
                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]