fixed by calling rs.getDouble(number_grade) instead of rs.getInt(number_grade)