// 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); }
public decimal BasisGeneralAdapted(MonthPeriod period, bool negSuppress, decimal valResult) { decimal adaptedResult = HealthOperations.DecSuppressNegative(negSuppress, valResult); return(adaptedResult); }