====== General:CastType filter ====== ===== Filter info ===== ^ Description | The ''CastType'' filter can be used to convert a value from one data type to another (compatible) type. | ^ Author | [[user>Aaron]] | ^ Plugin | [[bundywiki>plugins:calc:ZeoGraph|ZeoGraph]] (intrinsic) ^ ===== Looks like ===== | {{ :plugins:calc:zeograph:filters:general_casttype.png }} | {{ :plugins:calc:zeograph:filters:general_casttype_2.png }} | ^ CastType, disconnected ^ CastType, connected ^ ===== Input pins ===== ^ Name ^ Type ^ Default value ^ Description ^ | //Input// | variant | N/A | The input variable to be cast to another type. | The variant input pin accepts connections from all variable types. Once connection is accepted, the data type of the input pin will change to that of the pin to which it is connected. If the input pin is disconnected again, the pin type reverts to variant. ===== Output pins ===== ^ Name ^ Type ^ Description ^ | //Output// | variant | The output variable, which is the value of the input variable cast to another type. | The variant output pin accepts connections from all variable types. Once connection is accepted, the data type of the output pin will change to that of the pin to which it is connected. If the output pin is disconnected again, the pin type reverts to variant. ===== Options ===== This filter has no options. ===== Comments ===== None.