-
Notifications
You must be signed in to change notification settings - Fork 0
/
roman-numerals.htm
160 lines (149 loc) · 7.79 KB
/
roman-numerals.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Roman Numerals Converter -- Free Online Tool</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-title" content="Tool" />
<meta name="application-name" content="Tool" />
<meta property="og:title" content="Tool">
<meta name="description" content="Easily convert Roman numerals to numbers and vice versa with our efficient tool. Perfect for students, educators, and history enthusiasts.">
<meta property="og:description" content="Easily convert Roman numerals to numbers and vice versa with our efficient tool. Perfect for students, educators, and history enthusiasts.">
<meta property="og:locale" content="en_US">
<meta property="og:type" content="website">
<meta property="og:url" content="https://eakondratiev.github.io/">
<meta name="google-site-verification" content="DG8CDSi7XJOTIAp-BDhrgPccz9Js2GR8G1EKSbn_Dek" />
<meta name="msvalidate.01" content="8DEC6FAF984E8A6C5DC915A0BABC8B19" />
<link rel="canonical" href="https://eakondratiev.github.io/roman-numerals.htm">
<meta name="msapplication-config" content="/assets/icons/browserconfig.xml" />
<meta name="theme-color" content="#444444" />
<link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon-180.png" />
<link rel="manifest" href="/assets/icons/manifest.json" />
<link rel="icon" type="image/png" href="/assets/icons/favicon-96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="/assets/icons/favicon-32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/assets/icons/favicon-16.png" sizes="16x16" />
<link href="/assets/main.css?20230912" rel="stylesheet" type="text/css" />
<style>
.result-block {border: 1px solid #ccc; margin: 8pt 0; padding: 4pt; height: 90px;}
.result-block span {color: #606060;}
.result-block div {font-size: 2.5rem; font-family: Georgia, Garamond, "Times New Roman", Times, serif;}
.input-field {font-size:1rem; padding: 2pt;}
p.note {font-size: 0.9rem; margin: 2pt 0 8pt 0;}
.btns {margin: 8pt 0;}
.err {color:#b00; font-weight: bold;}
.symbols div {font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace; margin: 4pt 0; white-space:pre;}
@media (prefers-color-scheme: dark) {
.result-block {border: 1px solid #444;}
.result-block span {color: #aaa;}
.err {color:#fb9;}
}
</style>
<script src="/assets/menu.min.js?20240617"></script>
<script src="/assets/web-app.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PTBT00LYFH"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-PTBT00LYFH');
</script>
</head>
<body>
<div class="main-content">
<div class="page-wide header">
<header class="content">
<button class="site-menu-btn" aria-label="Open the site menu">
<div></div>
<div></div>
<div></div>
</button>
<div class="site-title"><a class="site-logo" href="/">TOOL</a></div>
</header>
<nav class="content site-nav" aria-label="Site menu">
<h3 class="site-nav-header">Online Tools</h3>
<ul>
<li class="site-nav-top-item"><a href="file.htm">File Type by Content</a></li>
<li class="site-nav-top-item"><a href="regex.htm">Regex Tester</a></li>
<li class="site-nav-top-item"><a href="roman-numerals.htm">Convert a Roman Number</a></li>
<li class="site-nav-top-item"><a href="iprange.htm">IPv4 Ranges</a></li>
<li class="site-nav-top-item"><a href="speed.htm">Speed & Distance</a></li>
<li class="site-nav-top-item"><a href="ws.htm">White Spaces</a></li>
<li class="site-nav-top-item"><a href="floating-point-representation.htm">Representation of Floating-point Numbers 32 and 64 bits</a></li>
<li class="site-nav-top-item"><a href="floating-point-summation.htm">Floating-point Summation</a></li>
</ul>
<h3 class="site-nav-header">Console Tools</h3>
<ul>
<li class="site-nav-top-item"><a href="crd-reader.htm">CRD Reader</a></li>
</ul>
</nav>
</div>
<div class="page-wide">
<div class="content page-content">
<noscript><div>This site requires JavaScript to function properly. Please enable it in your browser settings.</div></noscript>
<div id="incompatible-browser">Please, update your browser.</div>
<h1>Roman Numerals Converter</h1>
<div class="result-block" id="result"></div>
<div style="margin: 16pt 0;">
<div class="page-field-name"><u>R</u>oman Numeral or Integer number</div>
<input class="input-field" type="text" name="value-to-convert" id="value-to-convert" accesskey="R" title="Enter a Roman numeral or an integer number" value="" maxlength="15" />
<p class="note">
Range from 1 to 3999 (<a href="roman-numerals.htm?value=MMMCMXCIX">MMMCMXCIX</a>).
</p>
<div class="btns">
<button type="button" class="form-button" accesskey="N" id="button-to-number">Convert to <u>N</u>umber</button>
</div>
<div id="message-block" class="page-message page-message--warning" style="display: none;"></div>
</div>
<p class="page-description">
Converts Roman numerals to natural numbers and numbers to Roman numerals.
</p>
<h3>Some Examples</h3>
<p>
What are
<a href="roman-numerals.htm?value=VII">VII</a>,
<a href="roman-numerals.htm?value=DCCLXXXIX">DCCLXXXIX</a>,
<a href="roman-numerals.htm?value=MMXXII">MMXXII</a> numbers?
</p>
<p>
How to write <a href="roman-numerals.htm?value=2022">2022</a> in Roman numerals?
</p>
<h3>Symbols</h3>
<div class="symbols">
<div><a href="roman-numerals.htm?value=I">I</a> = 1</div>
<div><a href="roman-numerals.htm?value=V">V</a> = 5</div>
<div><a href="roman-numerals.htm?value=X">X</a> = 10</div>
<div><a href="roman-numerals.htm?value=L">L</a> = 50</div>
<div><a href="roman-numerals.htm?value=C">C</a> = 100</div>
<div><a href="roman-numerals.htm?value=D">D</a> = 500</div>
<div><a href="roman-numerals.htm?value=M">M</a> = 1000</div>
</div>
<div class="page-tags">
<b>#Numbers</b> <b>#Integer</b> <b>#Calculator</b> <b>#js</b>
</div>
</div>
</div>
</div>
<div class="page-wide footer">
<div class="footer-menu">
<ul>
<li><a href="crd-reader.htm">CRD File Reader Console App</a></li>
<li><a href="file.htm">Get File Type by Content</a></li>
<li><a href="mouse-events.htm">Mouse Events</a></li>
<li><a href="iprange.htm">IPv4 Ranges</a></li>
<li><a href="regex.htm">Test Regular Expressions</a></li>
<li><a href="roman-numerals.htm">Roman Numerals Converter</a></li>
<li><a href="floating-point-representation.htm">Floating-point Representation, 32/64 bit</a></li>
<li><a href="floating-point-summation.htm">Floating-point Summation</a></li>
<li><a href="speed.htm">Speed & Distance Scale</a></li>
<li><a href="ws.htm">Character Code Detector</a></li>
</ul>
</div>
imperfect <b>tools</b>
</div>
<script src="/assets/roman-numerals.min.js?20220520"></script>
<script>
RomanNumerals();
</script>
</body>
</html>