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

Online Help

All Products    Maple    MapleSim


convert/metric

convert to metric units

 

Calling Sequence

Parameters

Description

Examples

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.

convert4ft+3inches,metric

6477m5000

(1)

convertyards,metric

1143m1250

(2)

convert5gallons,metric,imp

454609L20000

(3)

convert5gallons,metric,US

18.92705892L

(4)

See Also

combine/units

convert/units

Units