public static decimal PaymentFromAmount(decimal amountMonthly, Int32 scheduledHours, Int32 workingsHours)
        {
            Int32 totalHours = TotalHoursForPayment(scheduledHours, workingsHours);

            decimal payment = OperationsDec.MultiplyAndDivide(totalHours, amountMonthly, scheduledHours);

            return(payment);
        }
Example #2
0
 public TAmountDec DecFactorResult(TAmountDec valueDec, TAmountDec factor)
 {
     return(OperationsDec.MultiplyAndDivide(valueDec, factor, NUMBER_100_PERCENT));
 }