Definition
Formats a number in Roman numerals.
Sample Usage
ROMAN(499,0)
ROMAN(A2)
Syntax
ROMAN(number, [rule_relaxation])
-
number- The number to format, between 1 and 3999, inclusive. -
rule_relaxation- [ OPTIONAL - 0 by default ] - The degree to which traditional syntax rules may be relaxed, between0and4inclusive.-
0indicates strict precedence rules, whereImay only precedeVandX,Vmay only precedeX,Xmay only precedeLandC,Lmay only precedeC, andCmay only precedeDandM. ThereforeROMAN(499,0)isCDXCIX. -
1indicates a relaxation whereVmay precedeLandCandLmay precedeDandM. ThereforeROMAN(499,1)isLDVLIV. -
2indicates a further relaxation whereImay precedeLandC, andXmay precedeDandM. ThereforeROMAN(499,2)isXDIX. -
3indicates a further relaxation whereVmay precedeDandM. ThereforeROMAN(499,3)isVDIV. -
4indicates a further relaxation whereImay precedeDandM. ThereforeROMAN(499,4)isID.
-
See Also
ARABIC: Computes the value of a Roman numeral.
In order to use the ROMAN formula, begin typing the formula in the area you would like to display the outcome:
The style of roman numeral is set by the numeric value of the style argument:
|
Style value |
Roman numeral style |
|---|---|
|
0 or omitted |
Classic |
|
1 |
More concise |
|
2 |
More concise |
|
3 |
More concise |
|
4 |
Simplified |
|
TRUE |
Classic |
|
FALSE |
Simplified |
An error is returned if the number argument is negative.
There were errors rendering macro:
- An unknown error occurred.