It runs fine but it does not accepted this solution. Is the division done before the conversion or why do I not pass?
public static double divide(int a, int b) {
//write your code here
double div=a/b;
return div;