The convert Function in the Natural Units Environment - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : Natural : Units/Natural/convert

The convert Function in the Natural Units Environment

Description

• 

In the Natural Units environment, the global convert function is replaced by a convert function that converts any unevaluated arithmetic operators, equalities, or inequalities to their global equivalents.  The first argument is tested to check whether it is a valid unit name.

• 

For more information about this function, see the global convert help page.

with(Units[Natural]):

:-convert('m', 'units', 'ft');  # the 'm' is not interpreted as a meter

Error, (in `convert/units`) unable to convert `1` to `ft`

convert('m', 'units', 'ft');

1250381ft

(1)

See Also

convert

Units

Units/Natural

Units/Natural/arithmetic operators

Units/Natural/equalities

Units/Natural/inequalities