Module talk:Sandbox/Squc/Roman

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

1, 0.0025

todecimal[edit]

mode=0 Normal

  • (1900)
    • " M C M "
      • 1900
    • " MCM "
      • 1900
    • "MCM"
      • 1900
  • (2013)
    • "MMXIII"
      • 1900
  • (test)
    • .
      • X̅̅̅I̅̅̅I̅̅̅ CCCXLV |VI| LXXVIII CMI Input is 5,000,000,000 (5e9) or greater
  • (Errors)
    • "XXXXX"
      • 50 Roman numeral usage errors: More than four X in a row, suggestion: L? - roman numeral 5, char 5
    • "VV"
      • 5 Roman numeral usage errors: V cannot be with another V, suggestion: X? - roman numeral 2, char 2
    • "XM"
      • 990 Roman numeral usage errors: M cannot follow X (Subtraction can only be within the same digit) - roman numeral 2, char 2
    • "LC"
      • 50 Roman numeral usage errors: C cannot follow L (Cannot subtract from 50) - roman numeral 2, char 2
    • "XXXL"
      • 20 Roman numeral usage errors: Number of X before X must be at most two - roman numeral 4, char 4
    • "LCXXXXVV"
      • 95 Roman numeral usage errors: C cannot follow L (Cannot subtract from 50) - roman numeral 2, char 2; V cannot be with another V, suggestion: X? - roman numeral 8, char 8

No errors[edit]

mode=1 Force no error

  • (1900)
    • " M C M "
      • 1900
    • " MCM "
      • 1900
    • "MCM"
      • 1900
  • (2013)
    • "MMXIII"
      • 1900
  • (Errors)
    • "XXXXX"
      • 50
    • "VV"
      • 5
    • "XM"
      • 990
    • "LC"
      • 50
    • "XXXL"
      • 20
    • "LCXXXXVV"
      • 95

Custom display[edit]

Can show all details

Escape
\n Decimal number
\e Error(s)
\t Time taken

default: mode=2 mode=2|disp=Decimal number: \n, Errors \e, Time \t

  • (1900)
    • " M C M "
      • Decimal number: 1900, Errors , Time 0.0134
    • " MCM "
      • Decimal number: 1900, Errors , Time 0.01384
    • "MCM"
      • Decimal number: 1900, Errors , Time 0.01428
  • (2013)
    • "MMXIII"
      • Decimal number: 2013, Errors , Time 0.01474
  • (Errors)
    • "XXXXX"
      • Decimal number: 50, Errors Roman numeral usage errors: More than four X in a row, suggestion: L? - roman numeral 5, char 5, Time 0.01552
    • "VV"
      • Decimal number: 5, Errors Roman numeral usage errors: V cannot be with another V, suggestion: X? - roman numeral 2, char 2, Time 0.01598
    • "XM"
      • Decimal number: 990, Errors Roman numeral usage errors: M cannot follow X (Subtraction can only be within the same digit) - roman numeral 2, char 2, Time 0.01642
    • "LC"
      • Decimal number: 50, Errors Roman numeral usage errors: C cannot follow L (Cannot subtract from 50) - roman numeral 2, char 2, Time 0.01686
    • "XXXL"
      • Decimal number: 20, Errors Roman numeral usage errors: Number of X before X must be at most two - roman numeral 4, char 4, Time 0.01732
    • "LCXXXXVV"
      • Decimal number: 95, Errors Roman numeral usage errors: C cannot follow L (Cannot subtract from 50) - roman numeral 2, char 2; V cannot be with another V, suggestion: X? - roman numeral 8, char 8, Time 0.0178

Default display[edit]

mode=2

  • (2013)
    • "MMXIII"
      • [num]2013 [err] [time]0.01826