[chronojump] Fixed compujump sprint t1,t2,t3,t4 sometimes negative



commit a65d29877b1f43a407de443d784c804be0031d65
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Mar 28 16:52:11 2018 +0200

    Fixed compujump sprint t1,t2,t3,t4 sometimes negative

 src/sprint.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sprint.cs b/src/sprint.cs
index 36c1f04..245e263 100644
--- a/src/sprint.cs
+++ b/src/sprint.cs
@@ -126,7 +126,7 @@ public class Sprint
                List<double> splitTimesList = new List<double>();
                foreach(string time in splitTimesArray)
                {
-                       double timeD = Convert.ToDouble(time);
+                       double timeD = Convert.ToDouble(Util.ChangeDecimalSeparator(time));
 
                        //convert from milliseconds to seconds
                        if(timeD > 0)


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