Skip to content

KRPATypeConversion

Function Description

TIP

By specifying a type conversion method, convert the corresponding data to boolean, integer, floating-point, or string

KRPATypeConversion

Configuration Item Description

General

Command Input

  • ConversionMethodInteger: Select data type conversion method, special instructions: [Character to Boolean: returns false when filled in with '0', returns true when filled in with other values] [Floating point to integer: rounded to integer] [Boolean to integer: True returns' 1 ', Curse returns' 0']

  • Strstring: Input string data or string variables

  • IntInteger: Input integer data or integer variables

  • BoolBoolean: Check to True, otherwise False

  • FloatDouble: Input floating-point data or floating-point variables

Command Output

  • OutputStrstring: Output data through type conversion

  • OutputIntInteger: Output data through type conversion

  • OutputBoolBoolean: Output data through type conversion

  • OutputFloatDouble: Output data through type conversion

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None