CVTVAL(MDVAL,MDFR,MDTO,MDROUND) |
This function converts a value from one unit of
measurement to another.
Example:
>S MDVAL=99,MDFR="DEGREES F",MDTO="DEGREES C",MDROUND=1
>W $$CVTVAL^MDTERM(MDVAL,MDFR,MDTO,MDROUND)
>37.2
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
MDVAL |
Input |
Value to convert (Required)
|
MDFR |
Input |
VUID or Name of unit to convert from (Must be exact
match). (Required)
|
MDTO |
Input |
VUID or Name of unit to convert to (Must be exact
match) (Required)
|
MDROUND |
Input |
Decimal precision (optional to override conversion
logic)
|
|