Fix ods export with doubles

This commit is contained in:
lorenz.stechauner committed 2024-01-17 12:10:11 +01:00
1 parent 0a60f01979
commit 38ad433b4e
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -71,6 +71,6 @@ namespace Elwig.Models.Dtos {
[NotMapped]
public (int? Kg, double? Percent) OverUnderDelivery =>
Weight < DeliveryObligation ? (Weight - DeliveryObligation, Weight * 100.0 / DeliveryObligation - 100.0) :
Weight > DeliveryRight ? (Weight - DeliveryRight, Weight * 100.0 / DeliveryRight - 100) : (null, null);
Weight > DeliveryRight ? (Weight - DeliveryRight, Weight * 100.0 / DeliveryRight - 100.0) : (null, null);
}
}