[chronojump] personHeight to sprint on meters



commit ae4bc71d9a7945a87b30fd6230e42be71e5d066c
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Mar 30 09:45:56 2017 +0200

    personHeight to sprint on meters

 src/sprint.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sprint.cs b/src/sprint.cs
index e024638..63ccf5b 100644
--- a/src/sprint.cs
+++ b/src/sprint.cs
@@ -106,7 +106,7 @@ public class Sprint
                        "#positions\n" +        positions + "\n" +
                        "#splitTimes\n" +       splitTimes + "\n" +
                        "#mass\n" +             Util.ConvertToPoint(mass) + "\n" +
-                       "#personHeight\n" +     Util.ConvertToPoint(personHeight) + "\n" +
+                       "#personHeight\n" +     Util.ConvertToPoint(personHeight / 100.0) + "\n" + //send it 
in meters
                        "#tempC\n" +            tempC + "\n" +
                        "#os\n" +               UtilEncoder.OperatingSystemForRGraphs() + "\n" +
                        "#graphWidth\n" +       graphWidth.ToString() + "\n" +


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