Skip to main content

to_roman_numerals(num)

Signature: to_roman_numerals(num: int) -> str

Convert integers (1–3999) to Roman numerals. Raises ClypRuntimeError if out of range.

Example

function example() returns null {
print(to_roman_numerals(1999)); # MCMXCIX
}