mirror of
https://github.com/rmcrackan/Libation.git
synced 2025-12-23 22:17:52 -05:00
Parse floats with invariant culture
This commit is contained in:
@@ -74,7 +74,7 @@ public class SeriesOrder : IFormattable
|
||||
continue;
|
||||
|
||||
var substring = numString[s..e];
|
||||
if (float.TryParse(substring, out value))
|
||||
if (float.TryParse(substring, System.Globalization.CultureInfo.InvariantCulture, out value))
|
||||
{
|
||||
range = new Range(s, e);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user