I have float number in string. there is one problem. Number uses \".\" not \",\" as decimal point.
This code is not working:
MyNumber = float.Parse(\
It depends on current culture of currently executed thread culture.
float.Parse("123,5", system.threading.thread.currentthread.currentculture);
float.Parse("123.5", system.threading.thread.currentthread.currentculture);
IF you strictly do not want culturespecific then
float.Parse("123.5", CultureInfo.InvariantCulture);