ROMAN
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, between0
and4
inclusive.0
indicates strict precedence rules, whereI
may only precedeV
andX
,V
may only precedeX
,X
may only precedeL
andC
,L
may only precedeC
, andC
may only precedeD
andM
. ThereforeROMAN(499,0)
isCDXCIX
.1
indicates a relaxation whereV
may precedeL
andC
andL
may precedeD
andM
. ThereforeROMAN(499,1)
isLDVLIV
.2
indicates a further relaxation whereI
may precedeL
andC
, andX
may precedeD
andM
. ThereforeROMAN(499,2)
isXDIX
.3
indicates a further relaxation whereV
may precedeD
andM
. ThereforeROMAN(499,3)
isVDIV
.4
indicates a further relaxation whereI
may precedeD
andM
. 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.
A
|
B
|
|
---|---|---|
1
|