Check out example codes for "c# integer division". It will help you in understanding the concepts better.

Code Example 1

double num3 = (double)num1/(double)num2;

Learn ReactJs, React Native from akashmittal.com