Units[Converter] - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Unit Converter : Units/Converter/HasUnit

Units[Converter]

  

HasUnit

  

test whether a unit is in the Unit Converter

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

HasUnit(unit)

Parameters

unit

-

symbol; unit name

Description

• 

The HasDimension(unit) function tests whether the given unit is in the Unit Converter.

• 

This procedure accepts symbols and variations in spelling. For example, ms, meters/second, and metre/second represent the same unit in the Unit Converter.

Examples

withUnits[Converter]:

HasUnit'm''s'

true

(1)

HasUnit'Tm''s'

false

(2)

HasUnit'erg''s'

true

(3)

See Also

Units

Units/Converter

Units[Converter][AddUnit]

Units[Converter][GetUnit]

Units[Converter][GetUnits]

Units[Converter][RemoveUnit]

Units[HasUnit]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam