G.T.R. Data Inc.
EBD’s Formulas - 2
The formula below is an example of a deduction involving a more complicated calculation. This formula first determines the employees annual salary.  If the employees salary is greater than $50,000 then this formula will calculate the minimum of 3.25% of his earnings or the contents of the DENT-MAX variable.  The minimum of the two becomes the value of the deduction.  If the employees salary is less than $50,000 then the same comparison is made except that 2.25% of earnings is compared to DENT-MAX.
 if |annsal| > 50000 then minimum (|E| * .0325,|Dent-max|) else minimum (|E| * .0225, |Dent-max|)