![]() ![]() |
Reference Type: Supported, Category: Measurement Functions, ICR#: 3175 & 10143
The $$LENGTH^XLFMSMT extrinsic function converts U.S. length to Metric length and vice versa. It returns the equivalent value with units.
$$LENGTH^XLFMSMT(value,from,to)
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):
|
returns: |
Returns the length measurement. |
Converting U.S. length to Metric length:
>S X=$$LENGTH^XLFMSMT(12,"IN","CM") >W X 30.48 CM |
Converting Metric length to U.S. length:
>S X=$$LENGTH^XLFMSMT(30.48,"cm","in") >W X 12 IN |