How could i convert data from string to long in C#?
I have data
String strValue[i] =\"1100.25\";
now i want it in
long
You can also use long.TryParse and long.Parse.
long.TryParse
long.Parse
long l1; l1 = long.Parse("1100.25"); //or long.TryParse("1100.25", out l1);