def bytes_to_gb(n_bytes):
    """
    Convert storage allowance bytes to a readable gb value
    """
    if n_bytes < 1073741824:
        return '{:.2f}'.format(n_bytes / 1073741824)
    else:
        return '{:d}'.format(int(n_bytes / 1073741824))