Check out example codes for "division en java". It will help you in understanding the concepts better.

Code Example 1

double e1 = 5;
double e2 = 2;
double res = e1 / e2;
System.out.println("Mon resultat : " + res);

Learn ReactJs, React Native from akashmittal.com