calculation for greater than / less than
Using the invoice stater solution in filemaker pro 12. I have a field, type : calculation that I'd like to perform as follows :
if the subtotal is less than $50, 5% is calculated, greater than $51, 10% is calculated
the subtotal is the total of all items on the invoice, before tax.
how can I specify the calculation for the above?