>>>>> Zack Williams <[email protected]> writes:

> Is it possible to perform multiple commodity conversions in order to get
> output in a specific commodity?

> I'm trying to abuse Ledger again (this time for calculating the
> power/cooling budget on a server room), and various devices have their power
> use ratings given in different ways - for example, in Watts, Amps, or BTU.
> These are all simple multiplicative conversions, so they can be expressed
> using Ledger's commodity pricing - for example:

If you use the 'C' directive to setup conversion rates, then everything will
be output by default using the most compact rate.  Or, use --base to see the
base rate.  This is how Ledger report time, for example.

  C 1.0m 60s

John

Reply via email to