Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

$$VOLUME^XLFMSMT(): Convert Volume Measurement

Reference Type: Supported, Category: Measurement Functions, Integration Agreement: 3175 & 10143


This extrinsic function converts U.S. volume to Metric volume and vice versa. Converts milliliters to cubic inches or quarts or ounces. It returns the equivalent value with units.



Input Parameters

value: (required) A positive numeric value.
from: (required) Unit of measure of the value input parameter (see table under the to input parameter).
to: (required) Unit of measure to which the value input parameter is converted (see table below):

Valid units in either uppercase or lowercase are:
Metric US
kl— kiloliter cf—cubic feet
hl—hectoliter ci—cubic inch
dal—dekaliter gal—gallon
l—liters qt—quart
dl—deciliter pt—pint
cl—centiliter c—cup
ml—milliliter oz— ounce



Returns the volume measurement.

Example 1

Converting U.S. volume to Metric volume:


>W X
339800.832 ML

Example 2

Converting Metric volume to U.S. volume:

>S X=$$VOLUME^XLFMSMT(339800.832,"ml","cf")

>W X
11.998 CF

VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.