def extract_number_from_money(string):
    """
    Extract number from string following this pattern:
    $130,321 -> 130321
    Also will round to 2 decimal places
    """
    try:
        trimmed = string.replace(",", "").replace("$", "").replace(" ", "").strip()
        number = float(trimmed)
        return round(number, 2)
    except ValueError:
        print("could not parse string")