2018-04-06 08:38:37 +01:00
|
|
|
# units
|
|
|
|
|
|
|
|
> Provide the conversion between two units of measure.
|
2020-11-01 14:30:22 +00:00
|
|
|
> Typing `search {{text}}` in the prompt will display a list of all of the units containing `{{text}}`.
|
|
|
|
> More information: <https://www.gnu.org/software/units/units.html>.
|
2018-04-06 08:38:37 +01:00
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
2020-10-04 18:33:38 +01:00
|
|
|
`units "{{meters / second}}" "{{inches / hour}}"`
|
2018-04-06 08:38:37 +01:00
|
|
|
|
|
|
|
- Show the conversion between units with different dimensions:
|
|
|
|
|
2020-10-04 18:33:38 +01:00
|
|
|
`units "{{acres}}" "{{ft^2}}"`
|