Пример #1
0
 public static Decimal Round(Decimal d, int decimals)
 {
     return(Decimal.Round(d, decimals));
 }
Пример #2
0
 public static Decimal Round(Decimal d, int decimals, MidpointRounding mode)
 {
     return(Decimal.Round(d, decimals, mode));
 }
Пример #3
0
 public static Decimal Round(Decimal d)
 {
     return(Decimal.Round(d, 0));
 }