We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa2bd6 commit eda37d2Copy full SHA for eda37d2
src/BootstrapBlazor/Components/Progress/Progress.razor.cs
@@ -3,6 +3,8 @@
3
// See the LICENSE file in the project root for more information.
4
// Maintainer: Argo Zhang([email protected]) Website: https://www.blazor.zone
5
6
+using System.Globalization;
7
+
8
namespace BootstrapBlazor.Components;
9
10
/// <summary>
@@ -85,7 +87,7 @@ public partial class Progress
85
87
/// 获得 Style 集合
86
88
/// </summary>
89
private string? StyleName => CssBuilder.Default()
- .AddClass($"width: {InternalValue}%;")
90
+ .AddClass($"width: {InternalValue.ToString(CultureInfo.InvariantCulture)}%;")
91
.Build();
92
93
0 commit comments