示例#1
0
 public void addPoportionally(int baseValue, int secondValue, Procent secondProcent)
 {
     if ((baseValue + secondValue) != 0)
     {
         set((this.get() * baseValue + secondProcent.get() * secondValue) / (float)(baseValue + secondValue));
     }
 }
示例#2
0
 public Money Multiply(Procent multiplier, bool showMessageAboutNegativeValue = true)
 {
     Multiply(multiplier.get());
     return(this);
 }
示例#3
0
 public Procent(Procent number) : base(number.get())
 {
 }