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

David Cousens davidcousens49 at gmail.com
Thu Nov 30 17:34:11 EST 2023


MIchael

That still works as expected in GnuCash 5.4 running on Linux Mint. I entered a
transaction for $15.61 credit to my bank account, entered the next split as
$15.61/11 and it was calculated as $1.42 with $14.19 going to the Imbalance
account  (I hit enter after entering the second split).  I also tested your
entry as well and the correct amount was entered.


David Cousens

On Thu, 2023-11-30 at 22:20 +0000, Michael Campbell via gnucash-user wrote:
> 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
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.


More information about the gnucash-user mailing list