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

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

The convert Function in the Standard Units Environment

Description

 • In the Standard 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.
 Note: In Maple 2015 and later versions, units are not surrounded by double brackets.
 > with(Units[Standard]):
 > :-convert(3*Unit('m/s'), 'units', 'cm/s');  # this should fail
 > convert(3*Unit('m/s'), 'units', 'cm/s');
 ${300}{}⟦\frac{{\mathrm{cm}}}{{s}}⟧$ (1)