def abv(og, fg, from_carbonation=0):
    """Work out alcohol content from fermentation data (optionally including carbonation)
    """
    value = (float(og) - float(fg)) / 1.938 + float(from_carbonation)
    return float(value)