လျှော့စျေးဂဏန်းတွက်စက်
ရောင်းချမှုစျေးနှုန်းနှင့်သင်မည်သည့်ရာခိုင်နှုန်းလျှော့စျေးမှကယ်တင်ဘယ်လောက်ရှာဖွေ.
သင်ရိုက်ထည့်သလိုရလဒ်များကို update လုပ်ပါ
ဤဂဏန်းတွက်စက်အကြောင်း
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.
မေးလေ့ရှိသောမေးခွန်းများ
လျှော့စျေးနှုန်းထားကိုဘယ်လိုတွက်ချက်ရမလဲ?
လျှော့စျေးရာခိုင်နှုန်းအားဖြင့်စျေးနှုန်းကိုမြှောက်နှင့်အားဖြင့်ခွဲဝေ 100 ကယ်တင်ခြင်းသို့ရောက်ရှိရန်, ထို့နောက်၎င်းကိုလျှော့ချ. 25% off 80 ၏ကယ်တင်ခြင်းသို့ရောက်ရှိရန်ဖြစ်ပါသည် 20, ထို့ကြောင့်နောက်ဆုံးစျေးနှုန်းဖြစ်ပါသည် 60.
သိုလှောင်မှုလျှော့စျေးအလုပ်လုပ်ကြသည်ကိုမည်သို့?
ဒုတိယလျှော့စျေးအရင်က-လျှော့ချစျေးနှုန်းကိုသက်ရောက်, မူရင်းမဟုတ်. 25% off ထို့နောက် 10% off 80 ပေး 80 → 60 → 54, မဟုတ် 52.
လျှော့စျေးပြီးနောက်နောက်ဆုံးစျေးနှုန်းကိုဘယ်လိုတွက်ချက်ရမလဲ?
အားဖြင့်မူလစျေးနှုန်းကိုမြှောက် (1 − လျှော့စျေး÷ 100). များအတွက် 25% off 80: 80 × 0.75 = 60. သင်ကယ်တင်ငွေပမာဏကိုမူလကလက်ကျန်ဖြစ်ပါတယ် - ဒီမှာ 20.
50% off then 20% off 70% off ကဲ့သို့တူညီသောဖြစ်ပါသလား?
ဟုတ်ကဲ့. အဆိုပါ 20% 50% အားဖြင့်ယခင်ကလျှော့ချစျေးနှုန်းထွက်လာ, ဒါကြောင့် 100 → 50 → 40, အကျိုးသက်ရောက် 60% off — not 70%. Stacked ရာခိုင်နှုန်းကဘယ်တော့မှရိုးရှင်းစွာအတူတကွပေါင်းစပ်.
ရောင်းချမှုစျေးနှုန်းမှမူလစျေးနှုန်းကိုဘယ်လိုရှာရမလဲ?
အားဖြင့်ရောင်းချစျေးနှုန်းခွဲဝေ (1 − လျှော့စျေး÷ 100). တစ်ခု item ကိုဖြစ်လျှင် 60 နောက်ပိုင်း 25% off, မူရင်းဖြစ်ပါတယ် 60 ÷ 0.75 = 80. ဤသည်တစ်ဦးတည်းလျှော့စျေး reverses.
လျှော့စျေးစျေးနှုန်းသို့ရောင်းအားအခွန်ကိုဘယ်လိုထည့်သွင်းရမလဲ?
ပထမဦးဆုံးရောင်းချစျေးနှုန်းထွက်အလုပ်လုပ်, ထိုအခါအားဖြင့် multiplied (1 + အခွန် ÷ 100). advanced options များအောက်တွင်အခွန် Field ကိုအလိုအလျောက်ဤလုပ်, ထို့ကြောင့်နောက်ဆုံးပုံရိပ်ကိုသင်တကယ် checkout မှာပေးဆောင်သည်ဘာဖြစ်လို့လဲဆိုတော့.
API ကို — code ကိုမှဤဂဏန်းတွက်စက်ကိုအသုံးပြု
အခမဲ့ JSON endpoint အဖြစ်ဤဂဏန်းတွက်စက်ကိုခေါ် - လိုအပ်သော key ကိုမရှိ. query parameters တွေကိုသို့မဟုတ် JSON အဖြစ်အောက်ပါ Field Values ကိုပို့. သင်ပယ်ချဘာမှတူညီသော default ကိုအသုံးပြုသည်ဤစာမျက်နှာနှင့်အတူ pre-filled ဖြစ်ပါတယ်။ အမည်မသိ parameter ကိုတစ်ခုဖြစ်ပါသည် 400, တစ်ဦးတိတ်ဆိတ်သော Zero ကိုမဆို. ပြည့်စုံသော 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);
ရလဒ်များသာယေဘုယျလမ်းညွှန်မှုများအတွက်ခန့်မှန်းချက်ဖြစ်ကြသည်, မငွေကြေး, ဆေးဘက်ဆိုင်ရာသို့မဟုတ်အခွန်အကြံပေးချက်.