When values are negative, Change % is empty
Reported by Virgil Dupras | August 26th, 2010 @ 11:18 AM | in v2.2.0 (closed)
If the start/last value is negative, the change % isn't calculated, presumably because of the inaccurate negative (or positive if the change is also negative) result.
However, this could be easily overcome by dividing by the absolute of the start/last figure.
So, if the start/last figure is -45.00 and the change is 90.00 this would result in a change % of 200.0. Similarly, -45.00 with a change of -90.00 would give a change % of -200.0.
Comments and changes to this ticket
-
Virgil Dupras September 6th, 2010 @ 09:09 AM
- Milestone set to v2.2.0
- State changed from new to accepted
- Milestone order changed from 195230 to 0
-
Virgil Dupras September 7th, 2010 @ 02:41 PM
- Assigned user set to Virgil Dupras
-
Virgil Dupras September 7th, 2010 @ 04:03 PM
- State changed from accepted to fixed
(from [b36bb0578458]) [#176 state:fixed] Change % is now displayed even when the base value is negative. http://bitbucket.org/hsoft/moneyguru/changeset/b36bb0578458/
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Tags
Referenced by
- 176 When values are negative, Change % is empty (from [b36bb0578458]) [#176 state:fixed] Change % is now ...