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