convert/metric - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

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

64775000m

(1)

convertyards,metric

11431250m

(2)

convert5gallons,metric,imp

45460920000L

(3)

convert5gallons,metric,US

18.92705892L

(4)

See Also

combine/units

convert/units

Units

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam