Ejemplo n.º 1
0
def rating_pct(compat):
    compat = int(compat)
    count = get_rating_count(compat)
    count_all = get_rated_games()
    if count_all == 0:
        return 0
    return (float(count) * 100) / count_all
Ejemplo n.º 2
0
def rating_pct(compat):
    compat = int(compat)
    count = get_rating_count(compat)
    count_all = get_rated_games()
    if count_all == 0:
        return 0
    return (float(count) * 100) / count_all
Ejemplo n.º 3
0
def rating_count(compat):
    return get_rating_count(int(compat))
Ejemplo n.º 4
0
def rating_count(compat):
    return get_rating_count(int(compat))