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 755243 - SYD calculated incorrectly
SYD calculated incorrectly
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-18 21:01 UTC by Matthias Clasen
Modified: 2015-09-20 14:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix syd calculation (1.13 KB, patch)
2015-09-18 21:11 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2015-09-18 21:01:33 UTC
in gnome-calculator, syd(8000,900,6,4) gives 2366.666666667
in libreoffice calc, =SYD(8000,600,6,4) gives $1014.29
Comment 1 Matthias Clasen 2015-09-18 21:11:08 UTC
Created attachment 311658 [details] [review]
Fix syd calculation

Actually pass all four parameters to the function, otherwise
bad results are produced...
Comment 2 Michael Catanzaro 2015-09-18 21:42:49 UTC
Let's hope nobody used this ever.
Comment 3 Alberto Ruiz 2015-09-20 14:34:28 UTC
Review of attachment 311658 [details] [review]:

Looks good, tested, committed and pushed.