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 9bd8ed6 commit 4c85bc1Copy full SHA for 4c85bc1
src/KubernetesClient/ResourceQuantity.cs
@@ -1,5 +1,6 @@
1
using System;
2
using System.Collections.Generic;
3
+using System.Globalization;
4
using System.Linq;
5
using System.Numerics;
6
using Fractions;
@@ -198,7 +199,7 @@ partial void CustomInit()
198
199
si = value.Length;
200
}
201
- var literal = Fraction.FromString(value.Substring(0, si));
202
+ var literal = Fraction.FromString(value.Substring(0, si), CultureInfo.InvariantCulture);
203
var suffixer = new Suffixer(value.Substring(si));
204
205
_unitlessValue = literal.Multiply(Fraction.Pow(suffixer.Base, suffixer.Exponent));
0 commit comments