![]() |
Python
1.0
|
Converting decimal numbers to roman numerals. More...
Functions | |
def | int2roman (num) |
Converts an integer number to its roman numeral representation. More... | |
def | main (argv=None) |
Converting decimal numbers to roman numerals.
Roman numerals, the numeric system in ancient Rome, uses combinations of letters from the Latin alphabet to signify values. The numbers 1 to 10, 50, 100, 500 e 1000 can be expressed in Roman numerals as follows:
In the Middle Ages, a horizontal line was used above a particular numeral, or parentheses placed around it, to represent one thousand times that numeral.
def _03c_int2roman.int2roman | ( | num | ) |
Converts an integer number to its roman numeral representation.
num | given number. |
An int to roman converter.
Referenced by main().
def _03c_int2roman.main | ( | argv = None | ) |
References _01d_dec2bin.input, and int2roman().