Skip to content

Commit ad9dfba

Browse files
committed
Merge branch 'dev' into mogah-gh-usage-analytics
2 parents 31496c4 + 86a909e commit ad9dfba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NuGetGallery/Extensions/NumberExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public static string ToKiloFormat(this int number)
9696

9797
return powers
9898
.Where(pow => Math.Abs(Math.Round(number / pow.Value, 3)) >= 1f)
99-
.Select(pow => string.Format("{0:F1}{1}", number / pow.Value, pow.Unit))
99+
.Select(pow => string.Format(CultureInfo.InvariantCulture, "{0:F1}{1}", number / pow.Value, pow.Unit))
100100
.First();
101101
}
102102
}

0 commit comments

Comments
 (0)