ChartWindow: Round PriceInput text
This commit is contained in:
1 parent
2bbf4dd1fd
commit
ab41702f6c
1 file changed
+1
-1
@@ -399,7 +399,7 @@ namespace Elwig.Windows {
|
|||||||
PrimaryMarkedPoint = oechsle - ActiveGraph.MinX;
|
PrimaryMarkedPoint = oechsle - ActiveGraph.MinX;
|
||||||
ChangeMarker(PrimaryMarkedPointPlot, true, ActiveGraph.GetOechsleAt(PrimaryMarkedPoint), ActiveGraph.GetPriceAt(PrimaryMarkedPoint));
|
ChangeMarker(PrimaryMarkedPointPlot, true, ActiveGraph.GetOechsleAt(PrimaryMarkedPoint), ActiveGraph.GetPriceAt(PrimaryMarkedPoint));
|
||||||
|
|
||||||
PriceInput.Text = ActiveGraph.GetPriceAt(PrimaryMarkedPoint).ToString();
|
PriceInput.Text = Math.Round(ActiveGraph.GetPriceAt(PrimaryMarkedPoint), Season.Precision).ToString();
|
||||||
|
|
||||||
EnableActionButtons();
|
EnableActionButtons();
|
||||||
OechslePricePlot.Refresh();
|
OechslePricePlot.Refresh();
|
||||||
|
|||||||
Reference in new issue
Block a user