On Converting between Arabic and Roman Numbers ,we get :
dec in roman numerals is :
XII
Dec. XXVll, MMVll
xii - i - mmv
December 23, 2009 is written as XXIII.XII.MMIX in Roman numerals.
The number that represents ILX is Fifty-nine (Aka 59).
The old roman calendar such as December mean 10 month because dec mean 10.
XII.I.MMX
The following code demonstrates how to convert decimal numerals to Roman numerals in the range 1 to 3999. Although there are some little-known conventions that allow numbers in excess of 3999 to be notated using special symbols, annotations and spacings to mulitply smaller numbers to produce larger numbers, the accepted convention states that no individual symbol may be repeated more than 3 times in succession (thus MMMM (4000) would not be allowed). Also, although there is nothing intrinsically wrong with using numerals such as IC to mean 99, the accepted convention with subtractive pairs states that I may only precede X and V, X may only precede C and L, and C may only precede M and D, while D, L and V may not be used as a prefix for any subtractive pair (thus ruling out VL for 45). Using the accepted convention makes it that much easier to code the conversion, however it is only a convention and there is no actual standard with regards Roman numerals. The accepted convention is simply the one that the majority of people will be most familiar with. The only time we really break from convention is when designing clock faces, as using the non-conventional numeral IIII (4) is more aesthetically pleasing than IV. It not only gives a sense of balance to the VIII on the other side, but it also divides the clock face into three distinct regions, where only I appears in the first region (1, 2, 3 and 4), V appears in the second region (5, 6, 7 and 8) and X in the last region (9, 10, 11 and 12). #include<iostream> #include<string> std::string roman(unsigned int dec) { std::string roman; if( dec && dec<4000 ) { while(dec>=1000) { roman+="M"; dec-=1000; } if(dec>=900) { roman+="CM"; dec-=900; } if(dec>=500) { roman+="D"; dec-=500; } if(dec>=400) { roman+="CD"; dec-=400; } while(dec>=100) { roman+="C"; dec-=100; } if(dec>=90) { roman+="XC"; dec-=90; } if(dec>=50) { roman+="L"; dec-=50; } if(dec>=40) { roman+="XL"; dec-=40; } while(dec>=10) { roman+="X"; dec-=10; } if(dec>=9) { roman+="IX"; dec-=9; } if(dec>=5) { roman+="V"; dec-=5; } if(dec>=4) { roman+="IV"; dec-=4; } while(dec--) {roman+="I"; } } return(roman); } int main() { for(unsigned int i=1; i<4000; ++i ) std::cout<<i<<" = "<<roman(i).c_str()<<std::endl; return(0); } Output: 1 = I 2 = II 3 = III 4 = IV 5 = V 6 = VI ... 3997 = MMMCMXCVII 3998 = MMMCMXCVIII 3999 = MMMCMXCIX
Dec. XXVll, MMVll
xii - i - mmv
Function dec2rom(dec As Integer) As String dec2rom = "" While dec >= 1000 dec2rom += "M" dec -= 1000 End While If dec >= 900 Then dec2rom += "CM" dec -= 900 End If If dec >= 500 Then dec2rom += "D" dec -= 500 End If If dec >= 400 Then dec2rom += "CD" dec -= 400 End If While dec >= 100 dec2rom += "C" dec -= 100 End While If dec >= 90 Then dec2rom += "XC" dec -= 90 End If If dec >= 50 Then dec2rom += "L" dec -= 50 End If If dec >= 40 Then dec2rom += "XL" dec -= 40 End If While dec >= 10 dec2rom += "X" dec -= 10 End While If dec >= 9 Then dec2rom += "IX" dec -= 9 End If If dec >= 5 Then dec2rom += "V" dec -= 5 End If If dec >= 4 Then dec2rom += "IV" dec -= 4 End If While dec dec2rom += "I" dec -= 1 End While End Function Sub Main() Dim year = 1999 Console.Write("The year ") Console.Write(year) Console.Write(" in Roman numerals is ") Console.Write(dec2rom(year)) Console.WriteLine() End Sub
December 23, 2009 is written as XXIII.XII.MMIX in Roman numerals.
The Romans didn't number their days the way we do. They had certain named days in a month and counted backwards from the nearest named day.The named days were related to the phases of the Moon, and were the Kalends (from where we get the word calendar) which fell on the day of the new moon, the Nones which fell on the day of the first quarter, and the Ides, which fell on the day of the full moon.Assuming that the month of December 2008 would have begun for a Roman on the 27th November, (the most recent New Moon), then the first few days would be* Nov 27 ... Kal. * Nov 28 ... ante diem VII Non. Dec. (= 7th day of the Nones of December) * Nov 29 ... ante diem VI Non. Dec. (= 6th day of the Nones of December) * Nov 30 ... ante diem V Non. Dec. (= 5th day of the Nones of December) * Dec 1 ..... ante diem IV Non. Dec. (= 4th day of the Nones of December) * Dec 2 ..... ante diem III Non. Dec. (= 3rd day of the Nones of December) * Dec 3 ..... pr. Non. Dec. (= day before the Nones of December) * Dec 4 ..... Nonae So now we have the day sorted out, let's look at the year.M was the Roman letter for 1,000, so 2000 would be MMV Was the Roman letter for 5, and III was 3So 2008 would have been MMVIIIPutting it all together, 4th December 2008 = Nonae December MMVIII
Function dec2rom(dec As Integer) As String dec2rom = "" While dec >= 1000 dec2rom += "M" dec -= 1000 End While If dec >= 900 Then dec2rom += "CM" dec -= 900 End If If dec >= 500 Then dec2rom += "D" dec -= 500 End If If dec >= 400 Then dec2rom += "CD" dec -= 400 End If While dec >= 100 dec2rom += "C" dec -= 100 End While If dec >= 90 Then dec2rom += "XC" dec -= 90 End If If dec >= 50 Then dec2rom += "L" dec -= 50 End If If dec >= 40 Then dec2rom += "XL" dec -= 40 End If While dec >= 10 dec2rom += "X" dec -= 10 End While If dec >= 9 Then dec2rom += "IX" dec -= 9 End If If dec >= 5 Then dec2rom += "V" dec -= 5 End If If dec >= 4 Then dec2rom += "IV" dec -= 4 End If While dec dec2rom += "I" dec -= 1 End While End Function
Xv xii mmv
The number that represents ILX is Fifty-nine (Aka 59).
The emperor that is credited with standardizing Dec. 25 as Christmas Day is Constantine in 325 A.D. Caesar Augustus was the Roman emperor when Christ was born.
The old roman calendar such as December mean 10 month because dec mean 10.