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