Set to 0 if we're below 0

This commit is contained in:
Archangel
2025-10-13 16:42:43 +02:00
parent 4cf3279f97
commit a9b715c0c3
@@ -19,7 +19,7 @@ public class SafeDoubleConverter : JsonConverter<double>
try
{
var decimalValue = reader.GetDecimal();
return decimalValue > 0 ? double.MaxValue : double.MinValue;
return decimalValue > 0 ? double.MaxValue : 0;
}
catch
{