When I try to convert a string to float:
Console.WriteLine(float.Parse(\"6.59\"));
it throws an exception:
Unhandled Exc
The single argument Parse method uses the current culture to parse the string. If your current culture uses some other decimal separator, this will fail.
Try using the invariant culture:
float.Parse("6.59", CultureInfo.InvariantCulture)