is a double an integer c# code example Example: c# convert double to int double someDouble = 12323.2; int someInt = (int)someDouble;