diff --git a/src/BootstrapBlazor.Server/Components/Samples/Progress.razor b/src/BootstrapBlazor.Server/Components/Samples/Progress.razor index 41e239b7941..3c2e3d19539 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/Progress.razor +++ b/src/BootstrapBlazor.Server/Components/Samples/Progress.razor @@ -29,7 +29,7 @@ - + - 9.8.0 + 9.8.1-beta01 diff --git a/src/BootstrapBlazor/Components/Progress/Progress.razor.cs b/src/BootstrapBlazor/Components/Progress/Progress.razor.cs index b4a2258e8c4..cbc06713e40 100644 --- a/src/BootstrapBlazor/Components/Progress/Progress.razor.cs +++ b/src/BootstrapBlazor/Components/Progress/Progress.razor.cs @@ -3,6 +3,8 @@ // See the LICENSE file in the project root for more information. // Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone +using System.Globalization; + namespace BootstrapBlazor.Components; /// @@ -85,7 +87,7 @@ public partial class Progress /// 获得 Style 集合 /// private string? StyleName => CssBuilder.Default() - .AddClass($"width: {InternalValue}%;") + .AddClass($"width: {InternalValue.ToString(CultureInfo.InvariantCulture)}%;") .Build(); ///