units: add page (#2038)

This commit is contained in:
Ryan Greenberg
2018-04-06 00:38:37 -07:00
committed by Owen Voke
parent 0ab7d38be8
commit 49e4e77ebb
3 changed files with 70 additions and 0 deletions

23
pages/osx/units.md Normal file
View File

@@ -0,0 +1,23 @@
# 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"}}`