Deprecation is noted from Blais in the issue. I also tested it and it 
didn't work.

That is also a good suggestion of doing the math inline, thank you.

On Thursday, December 30, 2021 at 11:05:28 PM UTC-5 b...@bben.us wrote:

> I'm not sure what level of deprecation the total cost syntax has, but 
> using that seems like a pretty decent solution.
> You can also do math just about anywhere where a number is accepted, so 
> you could do this AFAIK:
> Assets:Bank 100 FOO { 5000 / 100 USD }
>
> On Thu, Dec 30, 2021 at 7:49 PM Samuel Lotz <samue...@gmail.com> wrote:
>
>> I have statements from an inheritance in which I know I have a certain 
>> number of shares of an asset but I don't know the cost these were obtained 
>> at and I was hoping to use something like the deprecated {{total cost}} 
>> syntax.
>>
>> I found this issue https://github.com/beancount/beancount/issues/369
>> but I didn't quite understand how to use the alternative { # commodity} 
>> syntax and this isn't documented AFAICT.
>>
>> Any ideas besides just calculating it manually (which in the end isn't 
>> that big of a deal for these few accounts).
>>
>> Also not sure why that issue got closed as the deprecated syntax is still 
>> on the cheatsheet.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Beancount" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to beancount+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beancount/a9175963-b48f-4b75-a8e7-6b0dfc903bb3n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/beancount/a9175963-b48f-4b75-a8e7-6b0dfc903bb3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/9e3003a2-bb4c-4537-9436-b0f7afda6bd8n%40googlegroups.com.

Reply via email to