62,243
社区成员




int strar = len - 3 < 0 ? 0 : len - 3;
int length = len > n5.Length - 1 ? n5.Length - 1 : len;
n5.ToArray().ToList().Skip(strar).Take(length).ToList().ForEach(c => { smallstr += c; });
static void Main(string[] args)
{
int a=Convert.ToInt32(Console.ReadLine());
Console.Write(a.ToString("N0"));
Console.ReadKey();
}
bigstr = n5.Substring(0, len - 3);
smallstr = n5.Substring(len - 3,3);
string temp = "2500000.0056";
int count = Regex.Match(temp,@"(?<=\.)\d+").Value.Length;
string ss = double.Parse(temp).ToString("N" + count);//2,500,000.0056