def convert_to_cents(price: str) -> int:
    """Convert the price to cents, stripping the currency sign

    Parameters
    ----------
    price : str
        Price provided in string format

    Returns
    -------
    int
        Price converted to cents
    """
    price = price.replace("$", "").replace(",", ".")
    converted_price: float = float(price) * 100
    return int(converted_price)