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