def multiply_by_exponent(val, exponent=3, base=10):
    """
    Simple template tag that takes an integer and returns new integer of base ** exponent

    Return
        int

    Params:
        val: int
            The integer to be multiplied
        exponent: int
            The exponent
        base: int
            The base
    """

    if type(val) == int:
        int_val = int(val)
    else:
        int_val = 0

    return int_val * (base ** exponent)