From a0d27289ae98536549aacc902cd01b07e3fcf743 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Tue, 10 Sep 2024 21:46:30 +0200 Subject: [PATCH] removed unnecessary float conversion --- src/BreCalClient/EditShipDialog.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BreCalClient/EditShipDialog.xaml.cs b/src/BreCalClient/EditShipDialog.xaml.cs index 741c1f4..5feeb9b 100644 --- a/src/BreCalClient/EditShipDialog.xaml.cs +++ b/src/BreCalClient/EditShipDialog.xaml.cs @@ -41,8 +41,8 @@ namespace BreCalClient } this.Ship.Imo = this.integerUpDownIMO.Value; this.Ship.Callsign = this.textBoxCallsign.Text.ToUpper().Trim(); - this.Ship.Length = (float?) this.doubleUpDownLength.Value; - this.Ship.Width = (float?) this.doubleUpDownWidth.Value; + this.Ship.Length = this.doubleUpDownLength.Value; + this.Ship.Width = this.doubleUpDownWidth.Value; this.DialogResult = true; this.Close();