<filename>common/utils/mathematical_conversation_utils.py
def convert_price_to_us(price: str) -> float:
    us_number_convention = {",": ".", ".": ","}
    trans_table = price.maketrans(us_number_convention)
    price = price.translate(trans_table).replace(",", "")

    return float(price)

<filename>common/utils/mathematical_conversation_utils.py
def convert_price_to_us(price: str) -> float:
    us_number_convention = {",": ".", ".": ","}
    trans_table = price.maketrans(us_number_convention)
    price = price.translate(trans_table).replace(",", "")

    return float(price)
