Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs =================================================================== diff -u -r2e826fe82412e8333f9d4cb2e2eece2f3b3c6509 -rd2de88a141d3ba20d1f3b301a3c38723b682b206 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs (.../GrassCoverErosionInwardsInput.cs) (revision 2e826fe82412e8333f9d4cb2e2eece2f3b3c6509) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs (.../GrassCoverErosionInwardsInput.cs) (revision d2de88a141d3ba20d1f3b301a3c38723b682b206) @@ -36,13 +36,15 @@ public class GrassCoverErosionInwardsInput : Observable, ICalculationInput { private IEnumerable geometry; + private RoundedDouble orientation; /// /// Creates a new instance of . /// public GrassCoverErosionInwardsInput() { BreakWater = new List(); + orientation = new RoundedDouble(2); } /// @@ -70,7 +72,17 @@ /// /// Gets or sets the dike's orientation /// - public RoundedDouble Orientation { get; set; } + public RoundedDouble Orientation + { + get + { + return orientation; + } + set + { + orientation = value.ToPrecision(orientation.NumberOfDecimalPlaces); + } + } /// /// Gets or sets the dike's critical flow rate. @@ -101,7 +113,7 @@ /// /// Gets or sets the . /// - public IEnumerable BreakWater { get; set; } + public IList BreakWater { get; set; } /// /// Gets or set the hydraulic boundary location from which to use the assessment level.