Actually, you can, just prepend an "=" sign:
2017/09/09 * Gas station
    Expenses:Car:Fuel           35.550 L @ EUR 1.70
    Expenses:Car:Fuel:Tax       35.550 L @ EUR 0.01
    Expenses:Car:Mileage        = 109554 km
    Expenses:Car:Washing        $ 6
    Assets:Wallet
    
(Fri, Oct 27, 2017 at 01:17:20PM +0000) Craig Earls :
> No.  A posting (individual entries) are additions or subtractions to the
> underlying account.
> 
> On Fri, Oct 27, 2017 at 6:13 AM, Sanel Z. <[email protected]> wrote:
> 
> > Hi guys,
> >
> > I'm trying to use ledger for tracking car expenses (maintenance, fuel and
> > etc), but also I'm recording number of kilometers car went. Ledger
> > transaction looks like this, with fictive numbers (L is for liters):
> >
> >   2017/09/09 * Gas station
> >> Expenses:Car:Fuel           35.550 L @ EUR 1.70
> >> Expenses:Car:Fuel:Tax       35.550 L @ EUR 0.01
> >> Expenses:Car:Mileage        109554 km
> >> Expenses:Car:Washing        $ 6
> >> Assets:Wallet
> >
> >
> > I'm recording mileage as currently visible on dashboard, without manual
> > subtraction and ledger will happily add this number to the previous mileage
> > recording, which isn't what I want.
> >
> > Is there any way to instruct ledger to subtract these values ouf of the
> > box, and show only difference for transaction or given period?
> >
> > Thanks.
> >
> > Best,
> > Sanel
> >
> > --
> >
> > ---
> > 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.
> >
> 
> 
> 
> -- 
> Craig, Corona De Tucson, AZ
> [image: missile_flyout]
> enderw88.wordpress.com
> 
> -- 
> 
> --- 
> 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.

>    No.  A posting (individual entries) are additions or subtractions to the
>    underlying account.  
>    On Fri, Oct 27, 2017 at 6:13 AM, Sanel Z. <[1][email protected]> wrote:
> 
>      Hi guys,
>      I'm trying to use ledger for tracking car expenses (maintenance, fuel
>      and etc), but also I'm recording number of kilometers car went. Ledger
>      transaction looks like this, with fictive numbers (L is for liters):
> 
>          2017/09/09 * Gas station
>        Expenses:Car:Fuel           35.550 L @ EUR 1.70
>        Expenses:Car:Fuel:Tax       35.550 L @ EUR 0.01
>        Expenses:Car:Mileage        109554 km
>        Expenses:Car:Washing        $ 6
>        Assets:Wallet
> 
>      I'm recording mileage as currently visible on dashboard, without manual
>      subtraction and ledger will happily add this number to the previous
>      mileage recording, which isn't what I want.
>      Is there any way to instruct ledger to subtract these values ouf of the
>      box, and show only difference for transaction or given period?
>      Thanks.
>      Best,
>      Sanel
> 
>      --
> 
>      ---
>      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 [2][email protected].
>      For more options, visit [3]https://groups.google.com/d/optout.
> 
>    --
>    Craig, Corona De Tucson, AZ
>    [4]missile_flyout
>    [5]enderw88.wordpress.com
> 
>    --
> 
>    ---
>    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 [6][email protected].
>    For more options, visit [7]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. mailto:[email protected]
>    2. mailto:[email protected]
>    3. https://groups.google.com/d/optout
>    5. http://enderw88.wordpress.com/
>    6. mailto:[email protected]
>    7. 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Reply via email to