> "FM" == Felipe Mica writes:
FM> The ledger-cli starts to ignore the conversion.
FM> It seems a bug behavior.
I agree that this sounds like a bug. --exchange should always take priority,
if a conversion exists into your desired display commodity.
John
--
---
You received this message
This works for a while:
C 1. BTC = 100,000,000 SAT
C 1.00 bit = 100 SAT
C 1. BTC = 1,000,000.00 bit
But then the ledger-cli made a mess of commodity conversions. Even if I use
the option --exchange BRL if I put this equivalence lines the ledger-cli
just ignores the conversion
> "CD" == Colin Dean writes:
CD> You should be able to use commodity equivalencies to solve this problem to
CD> a degree, but it won't be automatic based on the magnitude in context,
CD> only whatever you set as the exchange, I think.
Actually, it should adjust the magnitude dependent on
Thank you guys. I could manage that with this:
commodity BTC
note Bitcoin
format 1,000. BTC
commodity bit
format 1,000.00 bit
commodity SAT
note Satoshis
format 1,000 SAT
C 1. BTC = 100,000,000 SAT
C 1.00 bit = 100 SAT
C 1. BTC = 1,000,000.00 bit
On Sunday,
You should be able to use commodity equivalencies to solve this problem to
a degree, but it won't be automatic based on the magnitude in context, only
whatever you set as the exchange, I think.
https://www.ledger-cli.org/3.0/doc/ledger3.html#Commodity-equivalences
On Sunday, September 12, 2021
You MIGHT use a commodity. For example, M_USD for millions of dollars ...
that's not a problem I face :-) ... and I realize it's not a direct
correlation to your question but maybe it's useful in some context
On Sat, Sep 11, 2021, 19:48 Martin Michlmayr wrote:
> Not that I'm aware of, but I'm
When working with cryptocurrencies, something like that:
203,320,244,020,398,298 DOGE can be very common.
It would be useful an option like --shorten-huge-numbers and change this to:
203,320.24T DOGE
Or maybe the solution could be create another commodity and use the C
directive as you said
Not that I'm aware of, but I'm not 100% sure.
--
Martin Michlmayr
https://www.cyrius.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
Thank you.
--
---
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.
To view this discussion on the web visit