def player_value_to_string(text):
    """
    Parses the player's value from a string.

    Args:
        text: The standard string of a player's value from Transfermarkt.

    Returns:
        A float representing the player's value. If the value cannot be parsed,
        returns None.
    """

    # Free transfer
    if "Free" in text:
        value = 0

    elif "M" in text:
        value = float(text.split("M")[0].replace(",", "."))

    elif "T" in text:
        value = float(text.split("T")[0].replace(",", ".")) / 1000

    else:
        return None

    return value