Statsikt erweitert
This commit is contained in:
@@ -33,7 +33,10 @@ namespace XMLProgramm
|
||||
gesamt +=s[ECalculatedResult.GESAMTUMSATZ];
|
||||
//if(datum.Equals("05.08.2021")) Debugger.Break();
|
||||
}
|
||||
Console.WriteLine(gesamt + " Durchschnitt : "+gesamt / datums.Count());
|
||||
int anzahlTage = datums.Count();
|
||||
decimal Durchschnitt = gesamt / anzahlTage;
|
||||
int prognosedays = 63;
|
||||
Console.WriteLine(string.Format("Tage : {0} \nGesamt umsatz: {1}\nDurchschnitt : {2}\nPrognose für {3} tage {4}",anzahlTage,gesamt,Durchschnitt,prognosedays,prognosedays*Durchschnitt));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user