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