InstaTax.Core.DomainObjects.TaxSlab.GetTax C# (CSharp) Method

GetTax() public method

public GetTax ( double taxableIncome ) : double
taxableIncome double
return double
        public double GetTax(double taxableIncome)
        {
            if (taxableIncome > SlabValue)
                taxableIncome = SlabValue;
            return (PercentTaxable * taxableIncome) / 100.00;
        }