ຕົວຄິດໄລ່ຫຼຸດລາຄາ
ຊອກຫາລາຄາຂາຍແລະຈໍານວນເງິນທີ່ທ່ານປະຢັດຈາກສ່ວນຮ້ອຍຫຼຸດລາຄາໃດໆ.
ຜົນການຄົ້ນຫາຈະຖືກອັບເດດເມື່ອທ່ານພິມມັນຂຶ້ນມາ ។
ກ່ຽວກັບເຄື່ອງຄິດໄລ່ນີ້
A discount calculator applies a percentage off an original price to give you the final sale price and the amount you save. The saving is the price multiplied by the discount percent and divided by 100; the sale price is what is left after subtracting it. Add a second discount or a tax rate under advanced options to see the true checkout price.
For example, 25% off an 80 item saves 80 × 25 ÷ 100 = 20, so the sale price is 60. If a second 10% coupon applies, it comes off the already-reduced 60 — not the original — giving 60 × 0.90 = 54. That is why stacked discounts are always worth less than simply adding the two percentages together.
Use it while shopping to check whether a "40% off" tag is really the best deal, to compare two offers, or to work out the final price when a store code stacks on a sale. Turn on the tax field to see the actual amount you will hand over at the register.
ຄໍາຖາມທີ່ຖາມເລື້ອຍໆ
ວິທີການທີ່ຂ້ອຍຈະຄິດໄລ່ສ່ວນຮ້ອຍຂອງການຫຼຸດລາຄາ?
Multiply the price by the discount percent and divide by 100 to get the saving, then subtract it. 25% off 80 is a saving of 20, so the final price is 60.
ຫຼຸດລາຄາໄດ້ຢ່າງໃດ?
25% ຫຼັງຈາກນັ້ນ 10% ອອກຈາກ 80 ສະຫນອງ 80 → 60 → 54, ບໍ່ແມ່ນ 52.
ວິທີການທີ່ຈະຄິດໄລ່ລາຄາສຸດທ້າຍຫຼັງຈາກຫຼຸດລາຄາ?
ເພີ່ມລາຄາຕົ້ນສະບັບໂດຍ (1 - ຫຼຸດລາຄາ ÷ 100). ສໍາລັບ 25% ອອກຈາກ 80: 80 × 0.75 = 60. ຈໍານວນທີ່ທ່ານປະຢັດແມ່ນຕົ້ນສະບັບຫນ້ອຍກວ່າຈໍານວນທີ່ - ຢູ່ທີ່ນີ້ 20.
50% ຫຼຸດລົງຫຼັງຈາກນັ້ນ 20% ຫຼຸດລົງຄືກັນກັບ 70% ຫຼຸດລົງ?
ບໍ່ມີ. 20% ຫຼຸດລົງລາຄາໄດ້ຫຼຸດລົງໂດຍ 50%, ດັ່ງນັ້ນ 100 → 50 → 40, ທີ່ມີປະສິດທິຜົນ 60% ຫຼຸດລົງ - ບໍ່ແມ່ນ 70%. ອັດຕາສ່ວນ Stacked ບໍ່ເຄີຍພຽງແຕ່ເພີ່ມຮ່ວມກັນ.
ຂ້ອຍຈະຊອກຫາລາຄາຕົ້ນສະບັບຈາກລາຄາຂາຍໄດ້ແນວໃດ?
ແບ່ງລາຄາຂາຍໂດຍ (1 - ຫຼຸດລົງ ÷ 100). ຖ້າຫາກວ່າສິນຄ້າແມ່ນ 60 ຫຼັງຈາກ 25% ຫຼຸດລົງ, ຕົ້ນສະບັບແມ່ນ 60 ÷ 0.75 = 80. ນີ້ຫມາຍຄວາມວ່າຫຼຸດລົງດຽວ.
ຂ້ອຍຈະເພີ່ມຄ່າພາສີຂາຍໃຫ້ກັບລາຄາຫຼຸດລາຄາໄດ້ແນວໃດ?
ເຮັດວຽກອອກລາຄາຂາຍທໍາອິດ, ຫຼັງຈາກນັ້ນເພີ່ມຂື້ນໂດຍ (1 + ພາສີ ÷ 100). ເຂດພາສີພາຍໃຕ້ທາງເລືອກທີ່ກ້າວຫນ້າເຮັດສິ່ງນີ້ໂດຍອັດຕະໂນມັດ, ດັ່ງນັ້ນຕົວເລກສຸດທ້າຍແມ່ນສິ່ງທີ່ທ່ານຈ່າຍຢ່າງແທ້ຈິງໃນ checkout.
API — ໃຊ້ເຄື່ອງຄິດໄລ່ນີ້ຈາກໂປຣແກຣມ
ໂທເຄື່ອງຄິດໄລ່ນີ້ເປັນຈຸດຈົບ JSON ຟຣີ - ບໍ່ຕ້ອງການກູໂກ. ສົ່ງຄ່າພື້ນທີ່ຂ້າງລຸ່ມນີ້ເປັນປາຣມາຕິກຄໍາຖາມ ຫຼື JSON. ທຸກສິ່ງທີ່ທ່ານລົບອອກ ຈະໃຊ້ຕົວອັກສອນທີ່ໜ້ານີ້ໄດ້ຕື່ມໄວ້ກ່ອນ; ພາຣາມິເຕີທີ່ບໍ່ຮູ້ແມ່ນ 400, ບໍ່ແມ່ນສະກຸນທີ່ບໍ່ມີສຽງເລີຍ. ອ່ານເອກະສານ API ເຕັມ →
ຈຸດສຸດທ້າຍ
GET https://calculator.free/api/v1/discount/
curl
curl "https://calculator.free/api/v1/discount/?price=80&percent=25"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/discount/?" + new URLSearchParams({
"price": "80",
"percent": "25"
}));
const data = await r.json();
console.log(data.results);
ຜົນໄດ້ຮັບແມ່ນຄາດຄະເນສໍາລັບຄໍາແນະນໍາທົ່ວໄປເທົ່ານັ້ນ, ບໍ່ການເງິນ, ຄໍາແນະນໍາທາງການແພດຫຼືພາສີ.