maulaku / wwdiary

Automatically exported from code.google.com/p/wwdiary
0 stars 0 forks source link

When changing quantity, point value on "wwdiary day" screen is different than "food entry" screen. #115

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a "food entry" w/ 6(fat) grams and "0" for everything else. Point 
value will be "2".  
2. Change quantity to "2". Point value will now be "4" on that screen.  
3. Exit out of food entry screen and point value is only "3" on the wwdiary 
screen. (Also tried with various quantities and same result.)

What is the expected output? What do you see instead?
Both point values should be the same on both screens.  Different point values 
after adjusting quantity.  This is happening more often now with different food 
entries.

What version of WWDiary are you using (check the "what's new" screen)?
6.5.1

What version of Android are you running?
4.1.2

What device do you have (phone/tablet)?  What brand/model?
Motorola Droid 4

Please provide any additional information below.

Original issue reported on code.google.com by rqst...@gmail.com on 10 Sep 2013 at 3:42

GoogleCodeExporter commented 9 years ago
 there might be a rounding error I'll look into it

Original comment by ddumont on 10 Sep 2013 at 8:33

GoogleCodeExporter commented 9 years ago
Thanks, Dan!  You're the bomb! :)

Original comment by rqst...@gmail.com on 10 Sep 2013 at 8:42