We are pleased to announce that as of March 4, 2025, an updated Rich Text Editor has been introduced in the MyFitnessPal Community. To learn more about the changes, please click here. We look forward to sharing this new feature with you!
Im no mathematician...

JenniDaisy
Posts: 526 Member
But this doesn't add up to me.
Has anyone else been experiencing any weird glitchy-ness over the last few days?
For example macros adding up to different amounts depending on whether you're looking at the website or the app. Yesterday they were off by quite a few grams, and I'm not sure which is correct.

Has anyone else been experiencing any weird glitchy-ness over the last few days?
For example macros adding up to different amounts depending on whether you're looking at the website or the app. Yesterday they were off by quite a few grams, and I'm not sure which is correct.
0
Replies
-
Other than the rounding to integers, what's wrong with it?0
-
Haha! My guess is that you have decimals that the program rounds up or down depending. No worries!0
-
Ok, it's just today one of my macros has a difference of 5 grams, that's quite a bit!
Do I just assume the website is the correct one?0 -
laughs, I haven't noticed.0
-
It would seem the guy who developed the app isn't a mathematician either.0
-
The app rounds to the nearest whole number. "Close" enough. Here's an example of this in action:
39.49% (rounded down to 39%)
35.49% (again, rounded down to 35%)
25.02% (rounded to 25%)
Actual total is 100% (but app rounds each, 39+35+25=99).
Don't sweat it, it's just rounded for simplicity (really, don't sweat macros not adding up calorie wise, either).0 -
JenniDaisy wrote: »Ok, it's just today one of my macros has a difference of 5 grams, that's quite a bit!
Do I just assume the website is the correct one?
Same rounding to nearest whole number thing going on. For example, a food item may contain 4.3g of some macro, app rounds to 4g.
Conversely, food may have 3.9g, app rounds up to 4g. And that's for all of your foods, it adds up, but do not worry, it is still an accurate estimations (some are more, some are less, it all averages out in the long run).
It really is close enough (these are all estimates, margin of error/variations in foods, even whole foods, is already more than 0.1g per macro).0 -
TimothyFish wrote: »It would seem the guy who developed the app isn't a mathematician either.
0 -
DeguelloTex wrote: »TimothyFish wrote: »It would seem the guy who developed the app isn't a mathematician either.
I understand rounding, please give me some credit. My main concern is the issue with the app and the website showing quite different numbers, and the 99% instead of 100% had never happened before so I wondered whether it was some kind of glitch.0 -
JenniDaisy wrote: »DeguelloTex wrote: »TimothyFish wrote: »It would seem the guy who developed the app isn't a mathematician either.
I understand rounding, please give me some credit. My main concern is the issue with the app and the website showing quite different numbers, and the 99% instead of 100% had never happened before so I wondered whether it was some kind of glitch.
0 -
williams969 wrote: »The app rounds to the nearest whole number. "Close" enough. Here's an example of this in action:
39.49% (rounded down to 39%)
35.49% (again, rounded down to 35%)
25.02% (rounded to 25%)
Actual total is 100% (but app rounds each, 39+35+25=99).
Don't sweat it, it's just rounded for simplicity (really, don't sweat macros not adding up calorie wise, either).
Sure, but a pie chart is improperly displayed if the sum of all slices doesn't equal 100%. Using your figures, the app could have rounded to 39.5%, 35.5%, and 25.0% and it would've been correct. It is no more correct to use 39%, 35%, 25% than it is to us 40%, 40%, and 30%, which is another set of values that we can get by rounding your numbers. But, you know, there are always those people who have to do things 110%.0 -
JenniDaisy wrote: »Ok, it's just today one of my macros has a difference of 5 grams, that's quite a bit!
Do I just assume the website is the correct one?
5 grams really isn't much. It's well within the noise.
0 -
The way the site works it gives a false sense of accuracy. There is no way - outside of sheer luck - that the pie chart thing is accurate to within 1% anyway.
0
This discussion has been closed.
Categories
- All Categories
- 1.4M Health, Wellness and Goals
- 394.6K Introduce Yourself
- 44K Getting Started
- 260.5K Health and Weight Loss
- 176.1K Food and Nutrition
- 47.5K Recipes
- 232.7K Fitness and Exercise
- 444 Sleep, Mindfulness and Overall Wellness
- 6.5K Goal: Maintaining Weight
- 8.6K Goal: Gaining Weight and Body Building
- 153.1K Motivation and Support
- 8.1K Challenges
- 1.3K Debate Club
- 96.4K Chit-Chat
- 2.5K Fun and Games
- 4.1K MyFitnessPal Information
- 16 News and Announcements
- 1.3K Feature Suggestions and Ideas
- 2.8K MyFitnessPal Tech Support Questions