public float GetFloat(ref string s)
{
float f = 0;
try
{
f = Convert.ToSingle(s);
}
catch (Exception)
{
s = "0";
}
return f;
}