[Bug 268934] [NEW] Calculator does not compute percentages correctly

2008-09-11 Thread jonmyrlebailey
Public bug reported: Binary package hint: gcalctool Calculator in Ubuntu 8.04 does not calculate percentages correctly. For example, the result the calculator gives for: 100-50%=99.5 The correct answer should be 50% ProblemType: Bug Architecture: i386 Date:

[Bug 268934] Re: Calculator does not compute percentages correctly

2008-09-11 Thread jonmyrlebailey
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/17532632/Dependencies.txt ** Attachment added: ProcMaps.txt http://launchpadlibrarian.net/17532633/ProcMaps.txt ** Attachment added: ProcStatus.txt http://launchpadlibrarian.net/17532634/ProcStatus.txt -- Calculator

[Bug 268934] Re: Calculator does not compute percentages correctly

2008-09-11 Thread jonmyrlebailey
so what the calculator is doing is converting the percent value entry to a decimal equivalent then operating with it for example, 50% =0.50 in decimal form 100-50%(0.50)=99.5 most other calculators take a percentage of an initial inputed number then work with it in the arithmetical expression: