public static boolean isInt(double a,double b){
        double value;
        if(a == b) {
            return true;
        }

        value = Math.sqrt(a * b);

        if(value == Math.round(value)){
            return true;
        }
        return false;
    }