# COUPON Function

This article explains how to use COUPON function

FS`COUPON(equation, coupon_question_data)`

FS`COUPON(100, QA{data})`

FS`COUPON(VA, QC{data})`

Note: you can obtain the coupon question data by referencing the question (e.g. QB) directly followed by the data reference in curly brackets (e.g.{data}) = QB{data}

# Examples

We have a formula for a “Total price”: `QA`

+ `QB`

- Total price result is: $100
- We want to add 10% off, so we add a coupon item (
`QC`

) and set up the coupon configuration.

The function of the “total price” is:

FS`COUPON(QA + QB, QC{data})`