コード例 #1
0
        // EmployeeContribution
        public decimal EmployeeContribution(MonthPeriod period, bool negSuppress, decimal generalBasis, decimal mandatoryBasis)
        {
            decimal compoundFactor = PeriodCompoundFactor(period);

            decimal calculatedBase = HealthOperations.DecSuppressNegative(negSuppress, generalBasis);

            Int32 resultGeneralValue = EmployeeContributionWithFactor(calculatedBase, mandatoryBasis, compoundFactor);

            return(resultGeneralValue);
        }
コード例 #2
0
        public decimal BasisGeneralAdapted(MonthPeriod period, bool negSuppress, decimal valResult)
        {
            decimal adaptedResult = HealthOperations.DecSuppressNegative(negSuppress, valResult);

            return(adaptedResult);
        }