![]() ![]() |
Reference Type: Supported, Category: Measurement Functions, ICR#: 3175 & 10143
The $$WEIGHT^XLFMSMT extrinsic function converts U.S. weights to approximate Metric weights and vice versa. It returns the equivalent value with units.
$$WEIGHT^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 weight measurement. |
Converting U.S. weight to Metric weight:
>S X=$$WEIGHT^XLFMSMT(12,"LB","G") >W X 5448 G |
Converting Metric weight to U.S. weight:
>S X=$$WEIGHT^XLFMSMT(5448,"g","lb") >W X 12.011 LB |