Commit Graph

2 Commits

Author SHA1 Message Date
b697ca6b29 Refactor PowerShell script for BMR and macronutrient calculation
- Corrected gender comparison to use `-eq` operator instead of assignment.
- Added input validation for gender to gracefully handle invalid inputs.
- Converted height input from cm to meters for accurate calculation.
- Ensured consistent calculation of BMR and macronutrient splits based on gender.
- Improved output formatting for clarity and readability.
2024-06-24 09:44:30 +00:00
a9c3c4c53d Update Nutrition/splits.ps1 2024-02-16 11:02:14 +00:00