def makeDivision(i: float, j: float) -> float:
    """Function to perform division safely, even when 0 is given

    Args:
        i (float): The nominator
        j (float): The denominator

    Returns:
        float: Result of the division, or -1 if not possible
    """
    return i / j if j else -1