Convert Data Type

Function Description

This step converts data between different types.

Use Cases

No specific application scenario or fixed combination.

Inputs

  • Unnamed: A set of data of a specified type. Supported data types include: BoolList, IndexList, NumberList, StringList, Variant, VariantList.

Outputs

  • Unnamed: Data of the corresponding converted type.

Parameters

  • Input Data Type/Output Data Type

    The conversion relationships between input data types and output data types are as follows:

    • Input: BoolList corresponds to Output: IndexList, NumberList, StringList

    • Input: IndexList corresponds to Output: BoolList, NumberList, StringList

    • Input: NumberList corresponds to Output: BoolList, IndexList, StringList, String, VariantList, Variant

    • Input: StringList corresponds to Output: BoolList, IndexList, NumberList, String

    • Input: Variant corresponds to Output: String, StringList

    • Input: VariantList corresponds to Output: String, StringList

    Specify the input data type and output data type in the dropdown list.

    The conversion relationships between input data types and output data types are as shown in the table below:

    Input Data Type

    Output Data Type

    BoolList

    IndexList, NumberList, StringList

    IndexList

    BoolList, NumberList, StringList

    NumberList

    BoolList, IndexList, StringList, String, VariantList, Variant

    StringList

    BoolList, IndexList, NumberList, String

    Variant

    String, StringList

    VariantList

    String, StringList

Note:

When using this step, pay attention to the dependency relationship between input ports and output ports:

  • When the data type of one port is changed, if there is no corresponding conversion relationship with the other port, the other port will be reset;

  • When this step is in a connected state, if the data type of a certain port is changed, the connection of that port will be reset, meaning the port will be disconnected.