diff --git a/PinballApi/Converters/NotRatedNullableDescriptiveConverter.cs b/PinballApi/Converters/NotRatedNullableDescriptiveConverter.cs index e6deeda..60a167a 100644 --- a/PinballApi/Converters/NotRatedNullableDescriptiveConverter.cs +++ b/PinballApi/Converters/NotRatedNullableDescriptiveConverter.cs @@ -1,6 +1,7 @@ using System.Text.Json.Serialization; using System; using System.Text.Json; +using System.Globalization; namespace PinballApi.Converters { @@ -29,7 +30,7 @@ public override bool CanConvert(Type objectType) } else { - return double.Parse(integerOrNullDescriptiveTerm); + return double.Parse(integerOrNullDescriptiveTerm, CultureInfo.InvariantCulture); } } else if (reader.TokenType == JsonTokenType.Number)