public void generateAnswer(Double result) {
        String[] checkFloat = ("" + result).split("\\.");
        if (Integer.parseInt(checkFloat[1]) == 0) {
            placeAnswer(Integer.parseInt(checkFloat[0]), math.genRandomNo(6, 1));
        } else if (Integer.parseInt(checkFloat[1]) > 0) {
            placeAnswer(result, math.genRandomNo(6, 1));
        }
    }