Skip to content

fix(Fitness Computer): Change arguments order to fix wrong BMI calculation#407

Merged
sharevb merged 1 commit into
sharevb:chore/all-my-stuffsfrom
R3dKar:fix/fitness-computer-wrong-bmi-result
Jun 13, 2026
Merged

fix(Fitness Computer): Change arguments order to fix wrong BMI calculation#407
sharevb merged 1 commit into
sharevb:chore/all-my-stuffsfrom
R3dKar:fix/fitness-computer-wrong-bmi-result

Conversation

@R3dKar

@R3dKar R3dKar commented Jun 13, 2026

Copy link
Copy Markdown

The BMI value calculated by Fitness Computer tool is incorrect. This is due to wrong argument order passed to calculateBMI (see sources of @finegym/fitness-calc). Calculation result for the default values before the fix is presented on screenshot (value of 300 is extremely high):

image

@sharevb sharevb merged commit eaea6e9 into sharevb:chore/all-my-stuffs Jun 13, 2026
5 of 6 checks passed
@sharevb

sharevb commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Hi @R3dKar thanks for this PR now merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants