Ejemplo n.º 1
0
        public static decimal PaymentFromAmount(decimal amountMonthly, Int32 scheduledHours, Int32 workingsHours)
        {
            Int32 totalHours = TotalHoursForPayment(scheduledHours, workingsHours);

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

            return(payment);
        }
Ejemplo n.º 2
0
 public TAmountDec DecFactorResult(TAmountDec valueDec, TAmountDec factor)
 {
     return(OperationsDec.MultiplyAndDivide(valueDec, factor, NUMBER_100_PERCENT));
 }