When I try to convert a string to float:
Console.WriteLine(float.Parse(\"6.59\"));
it throws an exception:
Unhandled Exc
Culture - specific things. What's your default culture? Some cultures use "," instead of ".". You can try this:
float.Parse("6.59", CultureInfo.InvariantCulture);