[GNC] GNU Cash not performing math functions correctly on entry

Michael Campbell michael.campbell at threathunt.com.au
Thu Nov 30 17:20:45 EST 2023


Hello All,

Long time lurker here, first time poster. I have been learning to use 
GNU Cash for my personal finances and now business for the past 10 
years. I am still learning.

When entering Goods and Services Tax for an entry, I used to just be 
able to divide the total cost by eleven in the ledger and it would 
calculate the proper amount. i.e., $72.25/11 would enter $6.57 into the 
ledger.

I am not sure if there has been an update or somehow I have changed a 
setting but now when I perform the calculation in the entry field I get: 
$72.25/11 enters $656.82 - clearly not correct. It is out by a factor of 
100 which should be a clue.

Is this a bug in GNU Cash in a recent update or have I somehow screwed 
up a setting some where - and if so where would I start to look?

System Information:

GNU Cash Version: 5.4
Build ID: 5.3-412-g53245caebf+(2023-09-23)

uname -a
Linux nuc 6.6.2-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Mon, 20 Nov 2023 
23:17:26 +0000 x86_64 GNU/Linux

neofetch
                    -`                    mick at nuc
                   .o+`                   --------
                  `ooo/                   OS: Arch Linux x86_64
                 `+oooo:                  Host: NUC12WSKi7 M42762-305
                `+oooooo:                 Kernel: 6.6.2-zen1-1-zen
                -+oooooo+:                Uptime: 45 mins
              `/:-:++oooo+:               Packages: 1456 (pacman)
             `/++++/+++++++:              Shell: zsh 5.9
            `/++++++++++++++:             Resolution: 2560x1440
           `/+++ooooooooooooo/`           WM: sway
          ./ooosssso++osssssso+`          Theme: Adwaita [GTK2/3]
         .oossssso-````/ossssss+`         Icons: Adwaita [GTK2/3]
        -osssssso.      :ssssssso.        Terminal: tmux
       :osssssss/        osssso+++.       CPU: 12th Gen Intel i7-1260P 
(16) @ 4.700GHz
      /ossssssss/        +ssssooo/-       GPU: Intel Alder Lake-P GT2 
[Iris Xe Graphics]
    `/ossssso+/:-        -:/+osssso+-     Memory: 4386MiB / 31673MiB
   `+sso+:-`                 `.-/+oso:
  `++:.                           `-/+/
  .`                                 `/


Thanks, I hope someone can help me resolve this annoying issue.

Michael Campbell

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xF8F9F6EB6FCC696F.asc
Type: application/pgp-keys
Size: 3203 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20231130/9a12867c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 855 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20231130/9a12867c/attachment-0001.sig>


More information about the gnucash-user mailing list