def _prep_hit(unrounded):
    also_log = ''
    rounded = unrounded
    if unrounded < MINIMUM_CHARGE:
        rounded = MINIMUM_CHARGE  # per github/#167
        also_log = ' [rounded up from $%s]' % unrounded

    upcharged, fee = upcharge(rounded)
    cents = int(upcharged * 100)

    amount_str = "%d cents ($%s%s + $%s fee = $%s)"
    amount_str %= cents, rounded, also_log, fee, upcharged

    return cents, amount_str, upcharged, fee
:param other: an `IPAddress` or ranged IP object.
dataset/ETHPy150Open gratipay/gratipay.com/gratipay/billing/exchanges.py/_prep_hit--crossover with--dataset/ETHPy150Open drkjam/netaddr/netaddr/ip/__init__.py/IPListMixin.__contains__