The formula used in the calculations is:
\[ \text{discounted price} = \text{original price} - (\text{original price} \times \frac{\text{discount}}{100}) \]
This calculator computes the discounted price based on the input values of the original price and the discount percentage.
Let's assume the following:
Calculate the discounted price:
\[ \text{discounted price} = 100 - (100 \times \frac{20}{100}) = 100 - 20 = 80 \]
Therefore, the discounted price is $80.