• Normalize price-like integration values to real numbers.

    Integrators often receive prices from CMS/API payloads as strings. This helper accepts plain numeric strings, French decimal commas and simple currency formatting (for example "2.5", "2,50", "1 234,56", "€12.99"). Percent strings are intentionally rejected so pricing-rule percentages keep their dedicated behavior.

    Parameters

    • value: unknown

    Returns number | undefined