convnum
    Preparing search index...

    Function toRoman

    • Converts a number to a Roman numeral string

      Parameters

      • num: number

        The number to convert (must be a positive integer between 1 and 3999 (included))

      Returns string

      The Roman numeral representation

      Error if input is out of valid range