Пример #1
0
 public static UInt16 Subtract(this UInt16 d, Percentage p)
 {
     return((UInt16)(d - d.Multiply(p)));
 }
Пример #2
0
 public static UInt16 Add(this UInt16 d, Percentage p)
 {
     return((UInt16)(d + d.Multiply(p)));
 }