Hallo i try to convert the value from the textbox to float i use this code :
float a;
if(rb1->Checked){a=Convert::ToFloat(tb1->Text);tb26->Text=Convert::ToString(a);}

what have i done wrong ?