InstaTax.Core.DomainObjects.HousingLoanInterest.GetAllowedExemption C# (CSharp) Method

GetAllowedExemption() public method

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

Usage Example

Exemplo n.º 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