To Roman Numeral

Pure
ToRomanNumeral

Converts an integer (1-3999) to a Roman numeral string.

Type: Pure (no side effects)
Category: Fortuna|String & Text
Keywords: string & text

Inputs

NameTypeDefaultDescription
ValueintValue parameter

Outputs

NameTypeDescription
ReturnValueFStringReturnValue output

Example Use Cases

Example 1

Display 'Chapter IV' in a book-themed game.

Example 2

Level numbering in a classic RPG style.