After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 536227 - The applet shows the variation as a % but it variation is the price variation.
The applet shows the variation as a % but it variation is the price variation.
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: invest-applet
2.22.x
Other All
: Normal minor
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-02 12:44 UTC by rsachetto
Modified: 2008-09-09 01:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
I changed the calculation of the variation and now it shows the real percent variation and not the price variation. (964 bytes, patch)
2008-06-02 12:45 UTC, rsachetto
none Details | Review

Description rsachetto 2008-06-02 12:44:18 UTC
The applet shows the variation as a % but it variation is the price variation, so it is not a percent.

Other information:
Becuase of this  I changed the calculation of the variation and now it shows the real percent variation and not the price variation. This variation is calculated using the formula:

percent_variation = [price_variation/(trade_value-price_variation)]*100
Comment 1 rsachetto 2008-06-02 12:45:43 UTC
Created attachment 111952 [details] [review]
  I changed the calculation of the variation and now it shows the real percent variation and not the price variation.
Comment 2 Matteo Zandi 2008-06-02 16:27:22 UTC
This issue has already been fixed in svn trunk, see http://svn.gnome.org/viewvc/gnome-applets?view=revision&revision=10827. Take a look to the latest code, many changes has been made since 2.22 :)