def getReviewRating(reviewDiv):
    """ The rating for the review is stored as a class on an inner span with two classes applied
    The first class identifies it as a "bubble rating", while the second defines the level from 1 to 5

    Example: class="ui_bubble_rating bubble_10"
    """

    ratingString = (((reviewDiv.find_element_by_class_name('ui_bubble_rating')).get_attribute('class')).split())[1]
    rating = (int(ratingString[-2:]))
    rating = rating/10

    return rating