Skip to content

Commit af6a79f

Browse files
committed
Revert "samples/UnitConverter.Wpf: Use double example values"
This reverts commit 896f765.
1 parent a7683b8 commit af6a79f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Samples/UnitConverter.Wpf/UnitConverter.Wpf/MainWindowDesignVM.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public MainWindowDesignVm()
3030

3131
public string FromHeader { get; } = "Value [cm]";
3232
public string ToHeader { get; } = "Result [dm]";
33-
public QuantityValue FromValue { get; set; } = 14.5;
34-
public QuantityValue ToValue { get; } = 1.45;
33+
public QuantityValue FromValue { get; set; } = 14.5m;
34+
public QuantityValue ToValue { get; } = 1.45m;
3535

3636
public ICommand SwapCommand { get; } = new RoutedCommand();
3737

0 commit comments

Comments
 (0)