Units[Converter][GetUnit] - list options of a unit in the Unit Converter
|
Calling Sequence
|
|
GetUnit(unit, opts)
|
|
Parameters
|
|
unit
|
-
|
symbol; unit name
|
opts
|
-
|
(optional) equation(s) of the form option=value where option is one of 'display' or 'default'; specify options for the unit
|
|
|
|
|
Description
|
|
•
|
The GetUnit(unit) function returns the options to the AddUnit function that recreate the unit.
|
•
|
The GetUnit(unit, opts) function returns an expression sequence of equations indicating the values of each option.
|
•
|
This procedure accepts symbols and variations in spelling. For example, , meters/second, and metre/second represent the same unit in the Unit Converter.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?