maulaku / wwdiary

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

Points X fraction of serving calculation #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I am trying to reproduce it myself but I thought before I did that it might 
be useful to ask if this is a known issue. Say an item is 3 points, and I have 
a 2/3 serving, so I enter .67 as the serving amount. The displayed result shows 
as 1.99 which is as close to accurate as it needs to be. But then the adding 
function the day gets odd. Not consistently - it seems to mess up the use of 
weekly points in a day I go over, or how activity points are applied. My first 
thought, when I ran into a puzzling result, was that the adding function didn't 
know what to do with the decimal results and might therefore be excluding that 
item from the addition. 
2.
3.

What is the expected output? What do you see instead?
As above - I hope this isn't being unhelpful. You have a GREAT app.  

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

What version of Android are you running?
4.1.1

What device do you have (phone/tablet)?  What brand/model?
Samsung Galaxy III

Please provide any additional information below.

Again, just asking if this is a known issue. If not, I'll try to come up with a 
coherent reproducible error. 

Original issue reported on code.google.com by KKallma...@gmail.com on 28 Dec 2012 at 3:46

GoogleCodeExporter commented 9 years ago
Hmm.. not sure I totally understand.

The use of weekly/activity points is only whole numbers.  So it will use 1 
whole point even for a fraction, which is why you may see some odd behavior.  I 
more concrete example would help a lot too :)

Original comment by ddumont on 28 Dec 2012 at 3:51

GoogleCodeExporter commented 9 years ago
I've tried to duplicate this behavior with no success. If I do run into again, 
I'll start a new ticket. 

Original comment by KKallma...@gmail.com on 9 Jan 2013 at 4:45

GoogleCodeExporter commented 9 years ago
Thank you for getting back to me.  I'll close this for now, let me know if it 
happens again.

Original comment by ddumont on 13 Jan 2013 at 7:39