Check out example codes for "double to int c#". It will help you in understanding the concepts better.

Code Example 1

Convert.ToInt32(8.6)

Code Example 2

double someDouble = 12323.2;
int someInt = (int)someDouble;

Learn ReactJs, React Native from akashmittal.com