Units[Converter]
GetUnit
list options of a unit in the Unit Converter
Calling Sequence
Parameters
Description
Examples
GetUnit(unit, opts)
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
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, ms, meters/second, and metre/second represent the same unit in the Unit Converter.
with⁡UnitsConverter:
GetUnit⁡ms
ms,display=meters per second (m/s),default=To
GetUnit⁡ms,display
display=meters per second (m/s)
GetUnit⁡ms,default
default=To
GetUnit⁡Btulb⁢degF,default,display
default=∅,display=British thermal units per pound degree Fahrenheit (Btu/(lb*Fahrenheit))
See Also
Units
Units/Converter
Units[Converter][AddUnit]
Units[Converter][GetUnits]
Units[Converter][HasUnit]
Units[Converter][RemoveUnit]
Units[GetUnit]
Download Help Document
What kind of issue would you like to report? (Optional)