In case of a 20% off, the formula will be written as: 20/100= 0.2. It can also be done by moving the decimal of a given percentage two spaces to the left. After converting, the decimal will be then multiplied by the original price, giving the discount. It can be written as: original product * decimal = discount.
Explanation. To calculate 20% of any amount, you multiply the amount by 0.20 (since 20% = 20/100 = 0.20). This gives you the value that is 20% of the original amount.
To calculate a percentage, you typically divide the part (the smaller value) by the whole (the larger value), and then multiply the result by 100. This gives you the percentage value as a number between 0 and 100.