Changing the primitive type Use this procedure to change the primitive type of a variable. Double-click the variable to change. Type the new value. Click OK.