InstaTax.Core.DomainObjects.HousingLoanInterest.GetAllowedExemption C# (CSharp) Méthode

GetAllowedExemption() public méthode

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

Usage Example

Exemple #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