Cannot use expressions inside braces. Possible bug or am I missing something?

20 views
Skip to first unread message

Felipe Mica

unread,
Sep 11, 2021, 7:47:58 PMSep 11
to Ledger
2021-09-06 Test
    Assets:Checking
    Expenses:Food:Groceries                 1 BTC @ (R$ 280,000.00 * 2)


Expressions using @ works. But inside {  } does not. Why?

2021-09-06 Test
    Assets:Checking
    Expenses:Food:Groceries                 1 BTC {(R$ 280,000.00 * 2)}


While parsing file "draft.ledger", line 3:
While parsing posting:
  Expenses:Food:Groceries                 1 BTC {(R$ 280,000.00 * 2)}
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: No quantity specified for amount


Reply all
Reply to author
Forward
0 new messages