Roman Numeral Converter

Kusinthana zonse zigawo kuti Roman zigawo ndi kumbuyo.

Mtengo wa 1-3999, kapena khadi ya Roma monga MMXXIV.
Chithunzi —
Kusintha —

Zithunzizi zimasintha monga momwe mumalemba.

Kodi izi calculator anakupatsani yankho labwino?

Zachidule

A Roman numeral converter turns an ordinary number from 1 to 3,999 into Roman numerals like MCMLXXXIV, or reads a Roman numeral back into a number. Romans built values from the seven symbols I, V, X, L, C, D and M — worth 1, 5, 10, 50, 100, 500 and 1,000.

The system is mostly additive, writing larger symbols before smaller ones and adding them up, but it uses a subtractive shortcut for the 4s and 9s: IV is 4, IX is 9, XL is 40 and CM is 900. This converter also validates the input, rejecting malformed numerals such as IIII or VX.

Worked example: 2024 breaks into 1000 + 1000 + 10 + 10 + 4, which is MM + XX + IV = MMXXIV. Reading it back, MMXXIV adds 1000 + 1000 + 10 + 10 + (5 − 1) = 2024. Because the symbols only reach M, the largest value the standard system can write is 3,999, or MMMCMXCIX.

Mafunso ofunsidwa nthawi zambiri

Kodi malamulo ochotsa ntchito bwanji?

Ngati chilembo chosaoneka bwino chimapita kumbuyo kwa chilembo chosaoneka bwino, chimawonjezeredwa: IV ndi 4 (5 − 1), IX ndi 9, XL ndi 40 ndi CM ndi 900. Ngati sichoncho, chilembocho chimawonjezeredwa kuchokera kumanzere kupita kumanzere.

N’chifukwa chiyani malingana ndi 3,999?

Standard Roman zilembo zimakhala mpaka 3,999 (MMMCMXCIX). Kuimira 4,000 kapena zambiri amafuna overline notation kuti ambiri fonts ndi mafomu sangathe kusonyeza.

Kodi pali zero mu Roman numerals?

Simu. M'malo mwake, dongosolo la Roma silinakhale ndi dzina la zero kapena tanthauzo la malo, zomwe ndichifukwa chake zinali zofunika kusinthidwa ndi ma numerali a Arabu.

Kodi ndingapeze bwanji 4 ndi 9 mu ma numerali a Roma?

Iwo agwiritsa ntchito subtractive malamulo: 4 ndi IV (mmodzi pambuyo asanu) ndi 9 ndi IX (mmodzi pambuyo makumi awiri).The chimodzimodzi chitsanzo amapatsa 40 = XL, 90 = XC, 400 = CD ndi 900 = CM.

Kodi ndi chiyani chigawo chachiroma cha MMXXIV?

MMXXIV is 2024: two Ms are 2,000, two Xs are 20, and IV is 4. This Roman numeral converter reads each symbol left to right, subtracting when a smaller one precedes a larger one.

N’chifukwa chiyani wosintha amakana ma digito monga I?

Standard Roman notation nthawi zonse sapitanso kutanthauzira chiwonetsero chazithunzi katatu; katatu limalemba IV, si I. Wosintha amayesetsa kuti chiwerengero ndi mu mtundu wa canonical ndi flags non-standard spelling monga zosagwirizana.

❤️ Ubwenzi Calculator.Free? Share it

𝕏  X Facebook Reddit
API — kugwiritsa ntchito izi calculator kuchokera code

Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Chomweko chilichonse chimene mumasiya chimagwiritsa ntchito mfundo yoyamba yomweyi yomwe tsambali limagwiritsa ntchito; mfundo yosadziwika ndi 400, siyiyenera kukhala zero yosadziwika. Onani zonse API docs →

Chithunzi

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);

Zimenezi ndi zowerengera zokhudzana ndi malangizo amtundu uliwonse, si zokhudzana ndi ndalama, zamoyo kapena zokhudzana ndi ndalama.