ម៉ាស៊ីនគិតលេខភាគរយ
ធ្វើការចេញពីអ្វី X% នៃចំនួនគឺជាអ្វីមួយចំនួនមួយជាភាគរយនៃមួយទៀត ។
លទ្ធផលធ្វើឲ្យទាន់សម័យតាមដែលអ្នកវាយ ។
អំពីម៉ាស៊ីនគិតលេខនេះ
A percentage calculator handles the three everyday percentage questions in one place: what is X percent of a value, what percent one number is of another, and the percentage change between two numbers. Pick the question from the dropdown and fill in the two boxes — the tool applies the matching formula automatically.
The maths behind each is simple. "X% of Y" multiplies Y by X and divides by 100, so 15% of 200 is 200 × 15 ÷ 100 = 30. "X is what % of Y" divides X by Y and multiplies by 100, so 30 out of 200 is 15%. "% change from X to Y" takes the difference over the original, so 200 rising to 260 is (260 − 200) ÷ 200 × 100 = 30%.
Use it for discounts and tips, tax, test scores, tip splitting, commission, growth rates and any of the countless moments daily life throws a percentage at you. Because it accepts decimals and negative numbers, it also works for shrinkage, losses and before-and-after comparisons.
សំណួរដែលសួរញឹកញាប់
តើខ្ញុំរកភាគរយនៃលេខដោយរបៀបណា ?
គុណចំនួនដោយភាគរយនិងចែកដោយ 100. ឧទាហរណ៍ 15% នៃ 200 គឺ 200 × 15 ÷ 100 = 30.
តើរបៀបផ្លាស់ប្ដូរភាគរយធ្វើការយ៉ាងដូចម្តេច ?
ជ្រើស "% ផ្លាស់ប្ដូរពី X ទៅ Y", បញ្ចូលលេខចាប់ផ្ដើមជា X និងលេខបញ្ចប់ជា Y ហើយម៉ាស៊ីនគិតលេខនឹងត្រឡប់ភាគរយខុសគ្នារវាងពួកគេ ។ ដើរពី ៥០ ទៅ ៨០ ផ្តល់ឲ្យ (៨០- ៥០) / ៥០ × ១០០ = កើនឡើង ៦០% ។
តើខ្ញុំប្ដូរភាគរយទៅជាចំនួនទសភាគដោយរបៀបណា ?
Divide the percentage by 100, or move the decimal point two places to the left. 15% becomes 0.15 and 7.5% becomes 0.075. To go the other way, multiply the decimal by 100.
តើភាគរយមួយណាជាចំនួនមួយនៃចំនួនមួយទៀត ?
ចែកផ្នែកដោយទាំងមូល ហើយគុណដោយ ១០០ ។ ប្រសិនបើ ៣០ នៃសំណួរ ២០០ គឺត្រឹមត្រូវ នោះគឺ ៣០ ÷ ២០០ × ១០០ = ១៥% ។ ជ្រើសរបៀប "X ជាអ្វី% នៃ Y?" ដើម្បីធ្វើវាដោយផ្ទាល់ ។
តើខ្ញុំអាចបន្ថែម ឬដកភាគរយពីលេខបានយ៉ាងដូចម្តេច ?
ដើម្បីបន្ថែម, គុណដោយ (1 + ភាគរយ÷ 100); ដើម្បីដក, គុណដោយ (1 − ភាគរយ÷ 100) ។ ការបន្ថែម 15% ទៅ 200 ផ្តល់ 200 × 1.15 = 230, និង 15% off ផ្តល់ 200 × 0.85 = 170 ។
តើការផ្លាស់ប្ដូរភាគរយអវិជ្ជមានមានន័យថាអ្វី ?
វាមានន័យថាតម្លៃធ្លាក់ចុះ. ប្រសិនបើតម្លៃថ្មីគឺតូចជាងដើម, រូបមន្តផ្លាស់ប្តូរត្រឡប់ភាគរយអវិជ្ជមាន - ឧទាហរណ៍ 260 ចុះទៅ 200 គឺអំពី -23% ។
API — ប្រើម៉ាស៊ីនគិតលេខនេះពីកូដ
ទូរស័ព្ទទៅម៉ាស៊ីនគិតលេខនេះជាចំណុចបញ្ចប់ JSON ឥតគិតថ្លៃ - គ្មានគ្រាប់ចុចដែលត្រូវការ ។ ផ្ញើតម្លៃវាលខាងក្រោមជាប៉ារ៉ាម៉ែត្រសំណួរ ឬ JSON ។ អ្វីដែលអ្នករំលងប្រើលំនាំដើមដូចគ្នាដែលទំព័រនេះត្រូវបានបំពេញជាមុនជាមួយប៉ារ៉ាម៉ែត្រមិនស្គាល់គឺ ៤០០ មិនមែនសូន្យស្ងាត់ទេ ។ អានឯកសារ API ពេញលេញ →
ចំណុចបញ្ចប់
GET https://calculator.free/api/v1/percentage/
curl
curl "https://calculator.free/api/v1/percentage/?mode=of&a=15&b=200"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/percentage/?" + new URLSearchParams({
"mode": "of",
"a": "15",
"b": "200"
}));
const data = await r.json();
console.log(data.results);
លទ្ធផលគឺការប៉ាន់ប្រមាណសម្រាប់តែការណែនាំទូទៅប៉ុណ្ណោះ, មិនហិរញ្ញវត្ថុ, វេជ្ជសាស្ត្រឬដំបូន្មានពន្ធ.