ChartWindow: Round PriceInput text

This commit is contained in:
2024-01-25 01:26:55 +01:00
parent 2bbf4dd1fd
commit ab41702f6c

View File

@ -399,7 +399,7 @@ namespace Elwig.Windows {
PrimaryMarkedPoint = oechsle - ActiveGraph.MinX;
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();
OechslePricePlot.Refresh();