Hi Gour, My previous answer is not fully correct, particularly:
> If you want a directive "in order not to have to enter currency symbol (HRK) to each transaction" you would have to use "commodity HRK". This is incorrect, there is no such way to "NOT enter a currency" and a default one is applied. There are some information about this in this thread : https://groups.google.com/d/topic/ledger-cli/MojlS_l3xxU/discussion. You have to set a commodity for every amount. Sorry to have mislead you. Sincerely, Thierry On Monday, April 20, 2015 at 6:55:12 AM UTC+2, Gour wrote: > > On Saturday, April 18, 2015 at 9:42:27 PM UTC+2, thierry wrote: > > >> If you want a directive "in order not to have to enter currency symbol >> (HRK) to each transaction" you would have to use "commodity HRK". >> The directive "D 1,000.00 HRK" tells, "if several commodities exists, HRK >> is the default", and when reporting with ledger cli, print with format >> "1,000.00". >> >> > Yes, I keep records of transactions in HRK and EUR and want to have that > default considering that the former currency is involved in majority of > them. > > There is following > > commodity HRK > note Croatian Kuna > > in my ledger file, but it seems it does not have any effect? > > > Sincerely, > Gour > > -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
