bool IsFloat(string str)
{
try
{
float.Parse(str);//int.Parse(str);//double.Parse(str);
return true;
}
catch (Exception)
{
return false;
}
}