ម៉ាស៊ីនគិតលេខតម្លៃប្រេង
ធ្វើការចេញពីតម្លៃប្រេងនៃដំណើរពីចម្ងាយប្រសិទ្ធភាពនិងតម្លៃប្រេង & # 160; ។
លទ្ធផលធ្វើឲ្យទាន់សម័យតាមដែលអ្នកវាយ & # 160; ។
អំពីម៉ាស៊ីនគិតលេខនេះ
you’re usingacar, it’s easy to calculate the cost of fuel. In mpg mode, it divides the distance by your miles-per-gallon figure to get gallons used, then multiplies by the price per gallon. In metric mode it multiplies distance ÷ 100 by your litres-per-100km figure to get litres, then multiplies by the price per gallon. In mpg mode, it divides the distance by your miles-per-gallon figure to get gallons used, then multiplies by the price per gallon.Use this calculatorUse this calculator to budget foraroad trip, compare the running cost of two vehicles, decide whether to drive or take the train, or work outafair share for carpoolers.Use this calculator to budget foraroad tripUse this calculatorUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calculator to budget foraroad tripUse this calcula
សំណួរដែលសួរញឹកញាប់
តើការចំណាយថាមពលដំណើរការត្រូវបានគណនាយ៉ាងដូចម្តេច?
ក្នុងរបៀប mpg: ប្រើប្រេង=ចម្ងាយ / mpg, បន្ទាប់មកចំណាយ=ប្រេង x តម្លៃក្នុងមួយហ្គាឡុង. ក្នុងរបៀបម៉ែត្រ: លីត្រ=ចម្ងាយ / 100 x (l/100km), បន្ទាប់មកចំណាយ=លីត្រ x តម្លៃក្នុងមួយលីត្រ.
តើរចនាប័ទ្មបើកបរផ្លាស់ប្ដូរលទ្ធផលឬទេ & # 160;?
បាទ/ ចាស ។ គុណភាពពិតប្រាកដប្រែប្រួលទៅតាមល្បឿន ចរាចរណ៍ ផ្ទុក និងដីក្រហម ដូច្នេះចាត់ទុកវាជាការប៉ាន់ប្រមាណដែលផ្អែកលើរូបភាពគុណភាពដែលបានបញ្ចូលរបស់អ្នក ។
តើខ្ញុំប្តូររវាង mpg និងលីត្រក្នុងមួយ 100 គីឡូម៉ែត្រដោយរបៀបណា?
ប្រើការកំណត់ឯកតានៅក្រោមជម្រើសកម្រិតខ្ពស់ & # 160; ។ Miles & mpg ចាត់ទុកចម្ងាយជាគីឡូម៉ែត្រ និងប្រសិទ្ធភាពជាគីឡូម៉ែត្រក្នុងមួយហ្គាឡុង & # 160; ។ km & l/ 100km ចាត់ទុកចម្ងាយជាគីឡូម៉ែត្រ និងប្រសិទ្ធភាពជាលីត្រក្នុងមួយលីត្រក្នុងមួយគីឡូម៉ែត្រ & # 160; ។ តម្លៃអានក្នុងមួយលីត្រ & # 160; ។
តើខ្ញុំអាចចែកចាយតម្លៃប្រេងរវាងអ្នកដំណើរបានយ៉ាងដូចម្តេច?
កំណត់ចំនួនមនុស្សនៅក្រោមជម្រើសកម្រិតខ្ពស់. ម៉ាស៊ីនគិតលេខចែកចំណាយប្រេងធ្វើដំណើរសរុបដោយស្មើគ្នា, ដូច្នេះអ្នកដំណើរម្នាក់ៗឃើញភាគហ៊ុនរបស់ពួកគេ - មានប្រយោជន៍សម្រាប់ carpools និងដំណើរកម្សាន្តផ្លូវដែលចែករំលែក.
តើការធ្វើដំណើររបស់ខ្ញុំប្រើប្រេងប៉ុន្មាន & # 160;?
ម៉ាស៊ីនគិតលេខបង្ហាញថាមពលដែលប្រើផងដែរដូចជាការចំណាយ. ក្នុងរបៀប mpg វាជាចម្ងាយ÷ mpg (ហ្គាឡុង); ក្នុងរបៀបម៉ែត្រវាជាចម្ងាយ÷ 100 × l / 100km (លីត្រ) ។ ដំណើរ 300 ម៉ាយនៅ 30 mpg ប្រើ 10 ហ្គាឡុង.
តើខ្ញុំអាចប៉ាន់ប្រមាណដំណើរកម្សាន្តជុំវិញបានយ៉ាងដូចម្តេច & # 160;?
បញ្ចូលចម្ងាយសរុបសម្រាប់ជើងទាំងពីរ ឬទ្វេដងរូបតំណាងមួយផ្លូវ & # 160; ។ ចាប់តាំងពីតម្លៃកើនឡើងដោយផ្ទាល់ជាមួយចម្ងាយការធ្វើដំណើរជុំវិញចំណាយតែពីរដងនៃការធ្វើដំណើរមួយផ្លូវនៅលើប្រសិទ្ធភាពដូចគ្នា និងតម្លៃប្រេង & # 160; ។
API — ប្រើម៉ាស៊ីនគិតលេខនេះពីកូដ
ទូរស័ព្ទទៅម៉ាស៊ីនគិតលេខនេះជាចំណុចបញ្ចប់ JSON ឥតគិតថ្លៃ - គ្មានគ្រាប់ចុចដែលត្រូវការ & # 160; ។ ផ្ញើតម្លៃវាលខាងក្រោមជាប៉ារ៉ាម៉ែត្រសំណួរ ឬ JSON & # 160; ។ អានឯកសារ API ពេញលេញ →
ចំណុចបញ្ចប់
GET https://calculator.free/api/v1/fuel-cost/
curl
curl "https://calculator.free/api/v1/fuel-cost/?distance=300&efficiency=30&price=3.5"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/fuel-cost/?" + new URLSearchParams({
"distance": "300",
"efficiency": "30",
"price": "3.5"
}));
const data = await r.json();
console.log(data.results);
លទ្ធផលគឺការប៉ាន់ប្រមាណសម្រាប់តែការណែនាំទូទៅប៉ុណ្ណោះ, មិនហិរញ្ញវត្ថុ, វេជ្ជសាស្ត្រឬដំបូន្មានពន្ធ.