public String toString() {
        String X = String.valueOf((x % 1 == 0) ? (int) x : x),
               Y = String.valueOf((y % 1 == 0) ? (int) y : y),
               Z = String.valueOf((z % 1 == 0) ? (int) z : z);

        return X + ", " + Y + ", " + Z;
    }