Returns a word form based on a given number value.

  • Parameters

    • value: number

      The number value to determine the word form for.

    • options: IWordForm

      The options object.

      • one

        The word form for when the value is 1.

      • many

        The word form for when the value is 0 or ends with 0, or when the value is between 11 and 20 (inclusive).

      • two

        The word form for when the value ends with 2 (e.g., 12, 22, 32).

    Returns string

    The word form with the given number value.