Roman Numeral Conversion API
SourceForge.net Logo
README
ChangeLog
Screen Shots
SourceForge Resources
Download
Report Bugs
Browse CVS
Man Pages
roman(7)
int2roman(3)
roman2int(3)
roman_asctime(3)
roman_ctime(3)
roman_strftime(3)
romandate(1)
romannum(1)
Examples
int2roman.c
roman2int.c
roman_asctime.c
roman_ctime.c
roman_strftime.c
 
ROMAN NUMERALS

ROMAN NUMERALS


NAME

Roman Numerals − the Roman Numeral symbols

DESCRIPTION

The roman numeral symbols:

Symbol Value Name
I 1 (one) (unus)
V 5 (five) (quinque)
X 10 (ten) (decem)
L 50 (fifty) (quinquaginta)
C 100 (one hundred) (centum)
D 500 (five hundred) (quingenti)
M 1000 (one thousand) (mille)

A bar placed across the top of a Roman Numeral implies that the value shoud be multiplied by 1000. The Romans did not have a symbol for zero. This package uses the N symbol to represent a zero rather than generating an error.

The symbols are combined together and used in repetition to represent values other than the values of the symbols. Computing the value of Roman Numeral string is done by adding the symbols if a lesser valued symbol follows a greater valued symbol, or subtracting the value if a lesser valued symbol preceeds a greater valued symbol.

EXAMPLES

Roman Numeral Value
I 1
II 2
IV 4
VIII 8
XVI 16
XXXII 32
LXIV 64
CXXVIII 128
CCLVI 256
DXII 512
MXXIV 1024
MMXLVIII 2048
MMMMXCVI 4096

SEE ALSO

romandate(1), romannum(1), int2roman(3), roman2int(3), roman_ctime(3), roman_strftime(3)