1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/osx/units.md

28 lines
547 B
Markdown
Raw Normal View History

2018-04-06 00:38:37 -07:00
# 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:
2018-10-29 12:14:01 +01:00
`units {{"15 pounds"}} {{kilograms}}`
2018-04-06 00:38:37 -07:00
- Show the conversion between two compound units:
`units {{"meters / second"}} {{"inches / hour"}}`
- Show the conversion between units with different dimensions:
`units {{"acres"}} {{"ft^2"}}`
2018-11-01 07:26:38 -05:00
- Show the conversion of byte multipliers:
`units {{"15 megabytes"}} {{bytes}}`