Use a cast.Im quite rusty and a newbie to begin with but I believe you want this(this is an example):


int i=1;
bool b;
b=<bool>i;

I believe that should work,and all types have casts:

char g="T"
int ASCII;
ASCII=<int>g;

int f=104;
float t;
t=<float>f;

if it doesnt work,ask around about casts