{"id":19584363,"url":"https://github.com/gpalleschi/roman_numbers","last_synced_at":"2026-04-06T09:31:06.898Z","repository":{"id":95881932,"uuid":"555869397","full_name":"gpalleschi/roman_numbers","owner":"gpalleschi","description":"Collection of functions/methods to convert arabic numbers to/from roman numeral in JAVA, Javascript, SQL, C, C++, Perl. Rust, Dart and Python.","archived":false,"fork":false,"pushed_at":"2023-02-21T14:11:58.000Z","size":2524,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T12:25:40.699Z","etag":null,"topics":["c","dart","functions","java","javascript","multilanguage","perl","python","roman","roman-number-converter","roman-numerals","rust","rust-lang","sql"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gpalleschi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-22T14:24:44.000Z","updated_at":"2023-02-18T09:40:48.000Z","dependencies_parsed_at":"2023-04-24T20:49:16.420Z","dependency_job_id":null,"html_url":"https://github.com/gpalleschi/roman_numbers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gpalleschi/roman_numbers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpalleschi%2Froman_numbers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpalleschi%2Froman_numbers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpalleschi%2Froman_numbers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpalleschi%2Froman_numbers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpalleschi","download_url":"https://codeload.github.com/gpalleschi/roman_numbers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpalleschi%2Froman_numbers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31466576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","dart","functions","java","javascript","multilanguage","perl","python","roman","roman-number-converter","roman-numerals","rust","rust-lang","sql"],"created_at":"2024-11-11T07:47:56.294Z","updated_at":"2026-04-06T09:31:06.893Z","avatar_url":"https://github.com/gpalleschi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# roman_numbers\n\nCollection of functions/Methods to convert arabic numbers to/from roman numeral in JAVA, Javascript, SQL, C, C++, Perl, Python3, Dart and Rust.  \n\nFunctions are :  \n\n***decimalToRoman*** : From Decimal Number to Roman Number  \n***romanToDecimal*** : From Roman Number to Decimal Number \n\nRoman numerals are a numeral system that originated in ancient Rome and remained the usual way of writing numbers throughout Europe well into the Late Middle Ages. Numbers in this system are represented by combinations of letters from the Latin alphabet. Modern style uses seven symbols, each with a fixed integer value:   \n\n| Symbol | I | V | X  | L  | C   | D   | M    |\n|--------|---|---|----|----|-----|-----|------|\n| **Value**  | 1 | 5 | 10 | 50 | 100 | 500 | 1000 |\n\nThe numerals for 4 (IV) and 9 (IX) are written using \"subtractive notation\", where the first symbol (I) is subtracted from the larger one (V, or X), thus avoiding the clumsier (IIII, and VIIII).\n\nSubtractive notation is also used for 40 (XL), 90 (XC), 400 (CD) and 900 (CM).\nThese are the only subtractive forms in standard use.\n\nA number containing two or more decimal digits is built by appending the Roman numeral equivalent for each, from highest to lowest, as in the following examples:\n\n   39 = XXX + IX = XXXIX.\n  246 = CC + XL + VI = CCXLVI.\n  789 = DCC + LXXX + IX = DCCLXXXIX.\n2,421 = MM + CD + XX + I = MMCDXXI.\n\nAny missing place (represented by a zero in the place-value equivalent) is omitted, as in Latin (and English) speech:\n\n  160 = C + LX = CLX\n  207 = CC + VII = CCVII\n1,009 = M + IX = MIX\n1,066 = M + LX + VI = MLXVI\nIn practice, Roman numerals for numbers over 1000  are currently used mainly for year numbers, as in these examples:\n\n1776 = M + DCC + LXX + VI = MDCCLXXVI (the date written on the book held by the Statue of Liberty).\n1918 = M + CM + X + VIII = MCMXVIII (the first year of the Spanish flu pandemic)\n1954 = M + CM + L + IV = MCMLIV (as in the trailer for the movie The Last Time I Saw Paris)[4]\n2014 = MM + X + IV = MMXIV (the year of the games of the XXII (22nd) Olympic Winter Games (in Sochi, Russia))\nThe largest number that can be represented in this notation is 3,999 (MMMCMXCIX), but since the largest Roman numeral likely to be required today is MMXXII (the current year) there is no practical need for larger Roman numerals. Prior to the introduction of Arabic numerals in the West, ancient and medieval users of the system used various means to write larger numbers; see large numbers below.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpalleschi%2Froman_numbers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpalleschi%2Froman_numbers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpalleschi%2Froman_numbers/lists"}