• Compute an attribute index from a score, i.e. the score divided by ten and truncated (clamped to 0 for non-positive scores).

    Parameters

    • value: number

      The attribute score.

    Returns number

    The derived index.