** Summary changed:

- Wrong order of calculations when percents are involved
+ Ignores multiplication after adding percent to a number

** Description changed:

+ Correct:
  1+0.1*100 = 11
  1+100*10% = 11
+ (1+10%)*100 = 110
  
- But
- 
+ Wrong:
  1+10%*100 = 1.1
  
  o.O
  
- https://imgur.com/a/Ae0gw4H
+ https://gitlab.gnome.org/GNOME/gnome-calculator/-/issues/378
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gnome-calculator 1:46.0-1ubuntu1
  ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
  Uname: Linux 6.8.0-35-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Jun 27 11:12:21 2024
  InstallationDate: Installed on 2024-02-07 (141 days ago)
  InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 
(20230807.2)
  ProcEnviron:
   LANG=pl_PL.UTF-8
   PATH=(custom, no user)
   SHELL=/usr/bin/zsh
   TERM=screen-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: gnome-calculator
  UpgradeStatus: Upgraded to noble on 2024-02-07 (141 days ago)

** Bug watch added: gitlab.gnome.org/GNOME/gnome-calculator/-/issues #378
   https://gitlab.gnome.org/GNOME/gnome-calculator/-/issues/378

** Also affects: gnome-calculator via
   https://gitlab.gnome.org/GNOME/gnome-calculator/-/issues/378
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2071330

Title:
  Ignores multiplication after adding percent to a number

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-calculator/+bug/2071330/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to