Public bug reported:

1+0.1*100 = 11
1+100*10% = 11

But

1+10%*100 = 1.1

o.O

https://imgur.com/a/Ae0gw4H

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)

** Affects: gnome-calculator (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

** Description changed:

  1+0.1*100 = 11
  1+100*10% = 11
  
  But
  
  1+10%*100 = 1.1
  
  o.O
+ 
+ https://imgur.com/a/Ae0gw4H
  
  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>
+  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)

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

Title:
  Wrong order of calculations when percents are involved

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


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

Reply via email to