Beispiel #1
0
 public void TestArgumentBounds()
 {
     Assert.Throws <ArgumentOutOfRangeException>(() => DecimalEx.Floor(10m, -1));
 }
Beispiel #2
0
 public decimal Test(decimal value, int places)
 {
     return(DecimalEx.Floor(value, places));
 }