Pickleball Calories Burned Calculator

Pickleball Calories Burned Calculator

Pickleball Calories Burned Calculator





const weight = weightUnit === "lb" ? weightInput.value : weightInput.value / 2.20462; // Convert kg to lb if necessary const minutes = minutesInput.value; let calories;

if (playStyleInput === "casual") { if (weightInput.value < 150) { calories = Math.round(250 * (weight / 150) * (minutes / 30)); } else if (weightInput.value < 200) { calories = Math.round(250 + ((weight - 150) / 50) * 85 * (minutes / 30)); } else { calories = Math.round(335 * (weight / 200) * (minutes / 30)); } } else { if (weightInput.value < 150) { calories = Math.round(360 * (weight / 150) * (minutes / 30)); } else if (weightInput.value < 200) { calories = Math.round(360 + ((weight - 150) / 50) * 115 * (minutes / 30)); } else { calories = Math.round(475 * (weight / 200) * (minutes / 30)); } } caloriesResult.innerText = "Calories Burned: " + calories + " kcal"; }

Rate this post

The post Pickleball Calories Burned Calculator first appeared on Blog PickeBall.



from Blog PickeBall https://ift.tt/UuRnizf
via IFTTT

Nhận xét

Bài đăng phổ biến từ blog này

Where Are Onix Pickleball Paddles Made? The Truth Revealed

Can Either Player Return Serve In Pickleball?

What Happens If You Hit Your Opponent In Pickleball? Penalty!