import math


def liters_to_bars(liters, bottle_size, round=False):
    """returns the bars corresponding to a given volume in a given bottle_size in liters"""
    if round:
        return math.ceil(liters / bottle_size)
    else:
        return liters / bottle_size