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.
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?