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

Adrien Monteleone adrien.monteleone at lusfiber.net
Thu Nov 30 17:27:42 EST 2023


That sounds like a 'smallest commodity fraction' issue off the top of my 
head.

Check your settings for your affected currency.

Another place to check is the setting for automatic decimal points.

Regards,
Adrien

On 11/30/23 4:20 PM, 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