[chronojump] Treeview jump shows stiffness with few decimals



commit 8a04ca05ac5d547ebb2605ccda3e21011dec34d4
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Aug 23 17:21:13 2022 +0200

    Treeview jump shows stiffness with few decimals

 src/treeview/jump.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/treeview/jump.cs b/src/treeview/jump.cs
index 2f250c174..f2afa8d1f 100644
--- a/src/treeview/jump.cs
+++ b/src/treeview/jump.cs
@@ -229,7 +229,7 @@ public class TreeViewJumps : TreeViewEvent
                }
 
                if (preferences.showStiffness)
-                       myData[count++] = newJump.Stiffness(personWeight, weightInKg).ToString();
+                       myData[count++] = Util.TrimDecimals (newJump.Stiffness(personWeight, weightInKg), 
pDN);
                if (preferences.showInitialSpeed) 
                        myData[count++] = Util.TrimDecimals(newJump.GetInitialSpeedJumpSimple 
(preferences.metersSecondsPreferred), pDN);
                if (preferences.showJumpRSI)


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