>>> string s = "123.00"; >>> string q = s.Split('.')[0]; >>> Console.WriteLine("{0}", q); >>> Console.ReadLine(); >>>