 convert/metric - Maple Programming Help

Home : Support : Online Help : System : Libraries and Packages : Deprecated Packages and Commands : Deprecated commands : convert/metric(deprecated)

convert/metric

convert to metric units

 Calling Sequence convert( expr, metric, imp/US );

Parameters

 expr - any expression (dependent on form'') metric - an unevaluated name imp/US - unevaluated names

Description

 • Important: The convert/metric conversion routine has been deprecated. Use the superseding Units package instead.
 • convert( expr, metric ); will convert imperial measurements to metric measurements.
 • If a third parameter, imp or US, appears the measures specified will be taken to be imperial or U.S., respectively.
 • The following units are known to the convert function when it is called to convert from a non-metric expression to a metric one.

 acre acres bu bushel bushels chain chains cm cord cords feet foot ft furlong furlongs gal gallon gallons Gals gill gills gr hr ins inch inches kg km Lb lbs light_year light_years mi Mile miles MPG MPH ounce Ounces oz Ozs pint pints pole poles pound pounds quart quarts yard yards yd yds

Examples

Important: The convert/metric conversion routine has been deprecated. Use the superseding Units package instead.

 > $\mathrm{convert}\left(4\mathrm{ft}+3\mathrm{inches},\mathrm{metric}\right)$
 $\frac{{6477}{}{m}}{{5000}}$ (1)
 > $\mathrm{convert}\left(\mathrm{yards},\mathrm{metric}\right)$
 $\frac{{1143}{}{m}}{{1250}}$ (2)
 > $\mathrm{convert}\left(5\mathrm{gallons},\mathrm{metric},\mathrm{imp}\right)$
 $\frac{{454609}{}{L}}{{20000}}$ (3)
 > $\mathrm{convert}\left(5\mathrm{gallons},\mathrm{metric},\mathrm{US}\right)$
 ${18.92705892}{}{L}$ (4)