c# convert double to int

C#
Convert.ToInt32(8.6)double someDouble = 12323.2;
int someInt = (int)someDouble;
Source

Also in C#: