Roman Numeral Conversion (NR)

Roman Numeral Conversion (NR)

Top  Previous  Next

 

The NR conversion code transforms a numeric value to or from Roman numeral notation.

 

The full format of this conversion code is

 

NR

 

 

The NR conversion code used as a output conversion transforms a numeric value to Roman numeral notation. A value of zero will be transformed to "N" in accordance with practice introduced around 725AD. Other positive values will be formed using the M, D, C, L, X, V and I symbols. Note that numbers over 4999 will have a long sequence of leading M characters.

 

Negative values will cause the output conversion to fail.

 

 

Used as an input conversion, the NR code transforms a number from Roman numeral notation.

 

 

Examples (Output conversion)

 

Data

Result

0

N

17

XVII

275

CCLXXV

1999

MCMXCIX