Template:R2A

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Usage

This template converts Roman numerals to (western) Arabic numerals using Module:roman numerals. The Roman numerals may be expressed using uppercase or lowercase letters. J or j for I or i can also be used.

  • {{R2A|C}} → 100
  • {{R2A|c}} → 100

The template can also be used to check if the specified parameter is a Roman numeral, like this:

{{#if:{{R2A|{{{parameter|}}}|no_error=1}}
  | The parameter is a Roman numeral
  | The parameter is not a Roman numeral
}}

Parameters

  • |1=: The Roman numeral to be converted to Arabic numerals

See also