tldr/pages/osx/units.md
2018-11-01 12:26:38 +00:00

547 B

units

Provide the conversion between two units of measure.

  • Run in interactive mode:

units

  • Show the conversion between two simple units:

units {{quarts}} {{tablespoons}}

  • Convert between units with quantities:

units {{"15 pounds"}} {{kilograms}}

  • Show the conversion between two compound units:

units {{"meters / second"}} {{"inches / hour"}}

  • Show the conversion between units with different dimensions:

units {{"acres"}} {{"ft^2"}}

  • Show the conversion of byte multipliers:

units {{"15 megabytes"}} {{bytes}}