ローマ数字変換
整数をローマ数字に変換し、逆に変換します。
結果はタイプすると更新されます。
この計算機の情報
the 1000s, the symbols I, V, X, L, C, D and M were used to write the number 1000. The 1000s were used to write the number 1000, and the 1000s were used to write the number 10. The 1000s were used to write the number 10, and the 10s were used to write the number 10. The 1000s were used to write the number 10, and the 10s were used to write the number 10. The 10s were used to write the number 1000. The 100s were used to write the number 1000. The 100s were used to write the number 1000.The 100s were used to write the number 1000
よくある質問
減算則はどう機能するのか。
より小さい記号がより大きな記号の前に来たときは、それを減算します。IV は 4 (5 − 1), IX は 9, XL は 40, CM は 900 です。そうでないときは、記号を左から右に加算します。
なぜ最大値が3999なのか?
標準ローマ数字は 3,999 (MMMCMXCIX) までしか表示できません。4,000 以上を表すには、多くのフォントや形式では表示できない上線記法が必要です。
ローマ数字にはゼロがあるか。
ローマ数字はゼロの記号も 位置値もない それがアラビア数字に 取って代わられた理由の一つだ
ローマ数字で4と9はどう書くのですか。
4はIV(5の前の1)、9はIX(10の前の1)の減算則を使い、同じパターンで40はXL、90はXC、400はCD、900はCMを与える。
MMXXIV はどのようなローマ数字ですか。
MMXXIV は 2024 です: 2 つの M は 2000、2 つの X は 20、IV は 4 です。このローマ数字変換は、小さい記号が大きい記号の前にあるときは減算して、各記号を左から右に読みます。
なぜコンバータは I のような数字を拒否するのか。
標準ローマ記法では、記号を4回繰り返すことはありません。4 は I ではなく IV と書きます。コンバータは数字が正規形式であるかをチェックし、標準ではないスペルを無効にします。
API — コードからこの計算機を使う
この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信します。 API ドキュメントを読む →
エンドポイント
GET https://calculator.free/api/v1/roman-numerals/
curl
curl "https://calculator.free/api/v1/roman-numerals/?amount=2024&from=arabic&to=roman"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/roman-numerals/?" + new URLSearchParams({
"amount": "2024",
"from": "arabic",
"to": "roman"
}));
const data = await r.json();
console.log(data.results);
結果は一般的な指導のための推定であり,財務的,医療的または税務的なアドバイスではない。