format-quantity - v3.2.0
    Preparing search index...

    Function formatRomanNumerals

    • Formats a number or bigint as Roman numerals. The number must be between 1 and 3999, inclusive; any other value—including non-numbers, NaN, and non-finite numbers—yields null.

      Parameters

      • quantity: number | bigint

      Returns string | null