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