At first, sorry for my bad english. I have fragment of code:
long x = 9223372036854775807L; double f = x; Console.WriteLine(x); Console.WriteLine(f);
try this
long x = 9223372036854775807L; decimal f = x; Console.WriteLine(x); Console.WriteLine(f);