• Assigns range values to a campaign based on its weight.

    Parameters

    • data: any

      The campaign data containing weight.

    • currentAllocation: number

      The current allocation value before this campaign.

    Returns number

    The step factor calculated from the campaign's weight.