Variant To Data

Converts variant data to the data type that you specify so that you can display or process the data.

1378

Inputs/Outputs

datatype_icon

type

The data type of the data stored in variant. You can wire any data type to this input.

If the data type wired to type does not match the data stored in variant, the node returns an error. If the data is an integer, you can coerce the data to another numeric representation, such as an extended-precision, floating-point number.
datatype_icon

variant

The variant data you want to convert to the data type that you specify in type.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

data

The variant data changed to the data type specified by type. If variant could not be converted to the data type specified, this returns the default value for the data type.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior