> On Apr 11, 2023, at 5:14 AM, Alexander Damm <alex.damm...@gmail.com> wrote:
> 
> Hello,
> 
> I recognized, that although my qif imports has 6 decimal places, only 2
> decimal places seem to be imported and rounded up.
> 
> Example 1:
> QIF File:
> 
> !Type:Invst
> D05-01-2023 00:00:00
> NBuyX
> YAMGN
> T1506.114762
> I251.019127
> Q6
> MBuy: AMGEN INC Symbol:AMGN ISIN:US0311621009
> L[Bank]
> $-1506.114762
> ^
> 
> Database:
> name | value_num | value_denom
> AMGN| 150611 | 100
> 
> 
> Example 2:
> !Type:Invst
> D05-01-2023 00:00:00
> NBuyX
> YKHC
> T1414.6985574
> I39.29718215
> Q36
> MKauf: KRAFT HEINZ CO/THE Symbol:KHC ISIN:US5007541064
> L[Bank]
> $-1414.6985574
> ^
> 
> Database:
> name | value_num | value_denom
> KHC| 141470 | 100
> 
> 
> 
> This leads to incorrect amounts.Is this correct and/or wanted?
> 
> Source:
> https://github.com/hjacobs/gnucash-qif-import

It's correct and wanted. There is no such thing as a millionth of a US dollar. 
The smallest legally recognized fraction is a hundredth, aka a penny.
Note also that there is no legally recognized fraction of a share of Amgen or 
Kraft-Heinz.

Is this from one of those investment-pool schemes where your broker pretends to 
let you trade fractional shares?

Regards,
John Ralls



_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to