str = IntToStrRoman(nNumberBelow4000, bDisplay4asIIII)
This macro function changes an integer into a string that represents that numbers as roman numerals. This is usually used to display years and sometimes months in a more classical manner. The range of allowed values is 1-3999.
Set bDisplay4asIIII to true to write 4 as IIII, or false to write it as IV.
See also: StrToInt, FormatDate, FormatNumber.
Topic 174695, last updated on 18-Nov-2026