mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
25 lines
565 B
Markdown
25 lines
565 B
Markdown
|
# units
|
||
|
|
||
|
> Provide the conversion between two units of measure.
|
||
|
> Typing 'search {{text}}' in the prompt will display a list of all of the units containing {{text}}.
|
||
|
|
||
|
- 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"}}`
|