how to concert double to int c# code example Example: c# convert double to int double someDouble = 12323.2; int someInt = (int)someDouble;