[GNC] How to enter a specific lof for stock

Suseno Dermawan dermawas at gmail.com
Sat Apr 9 11:50:13 EDT 2022


ah ic, ok then i'll turn off the automatic decimal.
Thank you John

On Sat, Apr 9, 2022 at 10:39 PM john <jralls at ceridwen.us> wrote:

> Then GnuCash is doing exactly what you told it to. Your automatic decimal
> point setting means that unless you supply a decimal point one is inserted
> for you: 100 becomes 1,00 and 1 becomes 0,01.   You've told GnuCash that
> the stock doesn't have fractions, so fractional amounts are rounded using
> what's colloquially called Banker's Rounding, where 0,5 is rounded to the
> nearest *even* integer, so .50 or less is rounded to 0, 1,50 or more to 2.
> Entering 23840 is turned into 238,40 and rounded to 238.  Note that GnuCash
> ignores thousands separators so even if you enter 23.840 it will still be
> turned into 238,40.
>
> Regards,
> John Ralls
>
>
> On Apr 8, 2022, at 7:55 PM, Suseno Dermawan <dermawas at gmail.com> wrote:
>
> Hi John,
>
> What did you set for the stock's smallest fraction traded in the security
> editor?
> 1/1
>
> Do you have Automatic decimal point set in Preferences>Numbers, Date, Time?
> yes
>
> If so, what have you set for the number of decimal places?
> 2
>
> screenshot as below:
> <image.png>
>
> Thank you
>
>
> On Sat, Apr 9, 2022 at 9:51 AM john <jralls at ceridwen.us> wrote:
>
>> What did you set for the stock's smallest fraction traded in the security
>> editor? Do you have Automatic decimal point set in Preferences>Numbers,
>> Date, Time? If so, what have you set for the number of decimal places?
>>
>> Regards,
>> John Ralls
>>
>>
>> > On Apr 8, 2022, at 7:37 PM, Suseno Dermawan <dermawas at gmail.com> wrote:
>> >
>> > Ok, there definitely something strange with how GNC auto calculate.
>> > after i force the correct price / shares & the total value. it
>> > automatically correct the shares qty.
>> > that is 1 way to fixed it. but i think there is a bug in the auto
>> > calculation. can this be reported as bugs ?
>> >
>> >
>> >
>> > On Sat, Apr 9, 2022 at 9:17 AM Suseno Dermawan <dermawas at gmail.com>
>> wrote:
>> >
>> >> okay this is even more strange,
>> >>
>> >> [image: image.png]
>> >>
>> >> I forced the number, but it seems gnucash doesn't recognise 29.400 pcs
>> of
>> >> stock, only recognised 294 lot of stock with price of 33.800, which i
>> think
>> >> is strange. or is this the proper way to record ?
>> >>
>> >>
>> >> On Sat, Apr 9, 2022 at 9:11 AM Suseno Dermawan <dermawas at gmail.com>
>> wrote:
>> >>
>> >>> Hi All,
>> >>> How to properly entered a stock ?
>> >>> i purchase an odd  number of stock
>> >>> i.e. 294 Lof (1 lot = 100) with the price of 338 IDR with value
>> >>> of 9.937.200 IDR .
>> >>>
>> >>> So i entered as such
>> >>> Shares = 29400,00
>> >>> Price = 338,00
>> >>> Value (Debit) = 0; i let GNC calculate auto
>> >>> screenshot as below:
>> >>> [image: Before enter & Auto calculate.PNG]
>> >>>
>> >>> when i press enter in gnu cash it changes to
>> >>> Shares = 294
>> >>> Price=338,0000
>> >>> Value = 99.372,00
>> >>>
>> >>> which is odd. and is there a rule how to enter the value in GNC ?
>> >>> can anyone help ?
>> >>>
>> >>> some additional info:
>> >>>
>> >>> the Fund security editor fraction is 1/1 or it should be 1 / 100
>> follow
>> >>> the lot of stock ?
>> >>> The account itself follow the fraction of the commodity values.
>> >>>
>> >>> Thank you
>> >>>
>> >>
>> > <Before enter & Auto
>> calculate.PNG><image.png>_______________________________________________
>> > 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
>> > If you are using Nabble or Gmane, please see
>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> > -----
>> > 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