Tools/calc/roman

calc/roman

Convert between integers and Roman numerals.

Free / no pricing configured

What it does

Converts an integer (1-3999) to a Roman numeral, or parses a Roman numeral back to an integer.

Primary use cases

  • Rendering a year or number as a Roman numeral.
  • Reading a Roman numeral as a number.

Good to know

action is to_roman (default) or from_roman. Integers must be 1-3999. Malformed numerals (e.g. "IIII", "VV") are rejected. Computed locally.

Parameters

valueinteger,stringrequired

An integer 1-3999 for to_roman, or a Roman numeral string for from_roman.

actionstringoptional

Direction of conversion. Defaults to to_roman.

calc/roman — Faro