Fixed decimal errors.

This commit is contained in:
AJ
2019-11-20 13:46:11 -05:00
parent 67d880c8ea
commit a58a29833a

View File

@@ -22,13 +22,13 @@ namespace CutToLength
{
get
{
return Items.Sum(i => i.Length) + Spacing * Items.Count;
return Math.Round(Items.Sum(i => i.Length) + Spacing * Items.Count, 8);
}
}
public double RemainingLength
{
get { return Length - UsedLength; }
get { return Math.Round(Length - UsedLength, 8); }
}
public double Utilization