diff --git a/src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerLRealControlView.razor b/src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerLRealControlView.razor index d2a66a54..8004c0a4 100644 --- a/src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerLRealControlView.razor +++ b/src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerLRealControlView.razor @@ -21,7 +21,7 @@ private void Change(ChangeEventArgs args) { - if (Double.TryParse(args.Value.ToString().Replace('.', ','), out var parseValue)) + if (Double.TryParse(args.Value.ToString(), out var parseValue)) Value = parseValue; Key++; diff --git a/src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerRealControlView.razor b/src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerRealControlView.razor index dab306cb..4269acaa 100644 --- a/src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerRealControlView.razor +++ b/src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerRealControlView.razor @@ -21,7 +21,7 @@ private void Change(ChangeEventArgs args) { - if (Single.TryParse(args.Value.ToString().Replace('.', ','), out var parseValue)) + if (Single.TryParse(args.Value.ToString(), out var parseValue)) Value = parseValue; Key++;