duble to int c# code example
Example 1: double to int c#
Convert.ToInt32(8.6)
Example 2: c# convert double to int
double someDouble = 12323.2;
int someInt = (int)someDouble;
Convert.ToInt32(8.6)
double someDouble = 12323.2;
int someInt = (int)someDouble;