![]() ![]() |
Reference Type: Supported, Category: Measurement Functions, ICR#: 3175 & 10143
The $$TEMP^XLFMSMT extrinsic function converts U.S. temperature to Metric temperature and vice versa. It returns the equivalent value with units.
$$TEMP^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 temperature measurement. |
Converting Fahrenheit to Celsius:
>S X=$$TEMP^XLFMSMT(72,"F","C") >W X 22.222 C |
Converting Celsius to Fahrenheit:
>S X=$$TEMP^XLFMSMT(0,"c","f") >W X 32 F |