tldr/pages.zh/osx/units.md

28 lines
644 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# units
> 提供两个度量单位之间的转换.
- 以交互模式运行:
`units`
- 显示两个简单单位之间的转换:
`units {{quarts夸脱}} {{tablespoons大汤匙}}`
- 单位与数量之间的转换:
`units "{{15 pounds}}" {{kilograms公斤}}`
- 显示两个复合单位之间的转换:
`units "{{meters / second}}" "{{inches英尺 / hour小时}}"`
- 显示具有不同维度的单位之间的转换:
`units "{{acres英亩}}" "{{ft英尺^2平方}}"`
- 显示字节乘数的转换:
`units "{{15 megabytes兆字节}}" {{bytes字节}}`