ValueType
(Engine-Level Function)
Description: | Returns the type of value passed to it. |
Warning: | This function should be used by advanced users only. |
Returns: | Numeric |
Usage: | Script or steady state. |
Function Groups: | Variable |
Related to: | Cast |
Format: | ValueType(Val) |
Parameters: |
Val |
Required. Any expression. |
Comments: | This returns the type of the value passed in the parameter |
Example:
type = ValueType(2.31);
The value of type will be 3.