Command: ValueUnitConvert
- Updated2024-09-12
- 2 minute(s) read
Command: ValueUnitConvert
Command: ValueUnitConvert
Converts a numeric value from one unit to a different unit.
Input Parameters
ValueUnit |
Specifies the numeric value of which DIAdem converts the unit. |
SourceUnit |
Specifies the symbol of the source unit. |
TargetUnit |
Specifies the symbol of the target unit. |
Return Parameters
| ReturnValue | The return value is a Floating-point number variable type. Receives the value in the converted unit. |
Example
The following example converts one meter into inches and displays the result:
| VBScript | Python |
Call MsgBoxDisp (ValueUnitConvert(1,"m","in"))
Related Topics
Command: ChnConvertUnit | Command: ChnConvertUnitToUnitSet | Command: ChnConvertWaveformXUnit | Command: ChnResultUnitGet | Command: ResultUnitGet

