Skip to content

Commit

Permalink
Make sure this double ignores it too
Browse files Browse the repository at this point in the history
  • Loading branch information
edgiardina committed Nov 26, 2024
1 parent 28de901 commit 8768fbb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Text.Json.Serialization;
using System;
using System.Text.Json;
using System.Globalization;

namespace PinballApi.Converters
{
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8768fbb

Please sign in to comment.