Hey there,
you can compare commodities with non-commodities for <= and >=, but for
== (not =) you need to specify the commodity

can you try --limit 'amount == 69.98 EUR' ?

(Sun, Nov 19, 2017 at 04:08:41AM -0800) Simão Mata :
> Hi,
> 
> I have the following transaction in my ledger:
> 
> 2017/09/25 * Something
>     Expenses               69.98 EUR
>     Assets:Checkings
> 
> I am using the following EXPR to find this transaction:
> 
>     ledger -f ledger.dat --limit 'amount = 69.98' reg 
> 
> But it return empty.
> 
> If I use the following EXPR it returns the transaction:
> 
>     ledger -f ledger.dat --limit 'amount>=69.98 and amount <= 69.98' reg 
> 
> Is this expected?
> 
> -- 
> 
> --- 
> 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 ledger-cli+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

>    Hi,
> 
>    I have the following transaction in my ledger:
> 
>    2017/09/25 * Something
>        Expenses               69.98 EUR
>        Assets:Checkings
> 
>    I am using the following EXPR to find this transaction:
> 
>        ledger -f ledger.dat --limit 'amount = 69.98' reg
> 
>    But it return empty.
> 
>    If I use the following EXPR it returns the transaction:
> 
>        ledger -f ledger.dat --limit 'amount>=69.98 and amount <= 69.98' reg
> 
>    Is this expected?
> 
>    --
> 
>    ---
>    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 [1]ledger-cli+unsubscr...@googlegroups.com.
>    For more options, visit [2]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. mailto:ledger-cli+unsubscr...@googlegroups.com
>    2. https://groups.google.com/d/optout



-- 
Ismael

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Reply via email to