multiply the value of string and float

hi, could anyone help me how to multiply these values

float a = 2.21;
string b = 3;

int total = a*b;

result is giving me a
total = 6;

i need this to be
total = 6.63;

what conversion do i need to use ?

Make total a float.