MainWindow.xaml.cs aktualisiert
This commit is contained in:
parent
6d0ba0c025
commit
2533e7b7d8
@ -80,7 +80,7 @@ namespace EuroToDollarConverter
|
|||||||
double result = euro * rate;
|
double result = euro * rate;
|
||||||
|
|
||||||
// Ergebnis mit 2 Nachkommastellen anzeigen
|
// Ergebnis mit 2 Nachkommastellen anzeigen
|
||||||
dollarBox.Text = result.ToString("F2");
|
dollarBox.Text = $"{result:F2}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user