Finds percentage between 2 numbers

    :param val: number
    :param other: number to compare to
    :return: percentage of delta between first and second

def get_percentage_relative_to(val, other):
    """Finds percentage between 2 numbers

    :param val: number
    :param other: number to compare to
    :return: percentage of delta between first and second
    """
    val = float(val)
    other = float(other)
    ratio = val / other - 1

    return ratio * 100.0