InstaTax.Core.DomainObjects.HousingLoanInterest.GetAllowedExemption C# (CSharp) 메소드

GetAllowedExemption() 공개 메소드

public GetAllowedExemption ( ) : double
리턴 double
        public double GetAllowedExemption()
        {
            return Amount < Cap ? Amount : Cap;
        }

Usage Example

예제 #1
0
 public void ShouldCapHousingLoanInterestExemptionIfAbove1Point5Lac(double testAmount)
 {
     HousingLoanInterest housingLoanInterestAmount = new HousingLoanInterest(testAmount);
     Assert.AreEqual(150000, housingLoanInterestAmount.GetAllowedExemption());
 }
All Usage Examples Of InstaTax.Core.DomainObjects.HousingLoanInterest::GetAllowedExemption