Tim buys a cabinet for $1200 and gets a 15% discount.  How much did he pay?
He got a discount of 1200*.15=$180.
So he paid 1200-180=$
<gadget id="calculator">1200-180</gadget>
<output>1_020</output>
1020.

<result>1_020</result>