[chronojump] sprint mass and personHeight with '.' decimal for R



commit c4dfcda290768499041726b5aef2dcda3aea3b90
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Mar 23 19:28:58 2017 +0100

    sprint mass and personHeight with '.' decimal for R

 src/sprint.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/sprint.cs b/src/sprint.cs
index 84c0a90..1f2f203 100644
--- a/src/sprint.cs
+++ b/src/sprint.cs
@@ -86,8 +86,8 @@ public class Sprint
                string scriptOptions =
                        "#positions\n" +        positions + "\n" +
                        "#splitTimes\n" +       splitTimes + "\n" +
-                       "#mass\n" +             mass + "\n" +
-                       "#personHeight\n" +     personHeight + "\n" +
+                       "#mass\n" +             Util.ConvertToPoint(mass) + "\n" +
+                       "#personHeight\n" +     Util.ConvertToPoint(personHeight) + "\n" +
                        "#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]