convert - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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