• Assigns start and end range values to a variation based on its weight.

    Parameters

    • data: VariationModel

      The variation model to assign range values.

    • currentAllocation: number

      The current allocation value before this variation.

    Returns number

    The step factor calculated from the variation's weight.