Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a226df426dba3191

Jump to content

Module talk:Sandbox/Squc/Roman

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

1, 0.00238

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
\nDecimal number
\eError(s)
\tTime taken

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

  • (1900)
    • " M C M "
      • Decimal number: 1900, Errors , Time 0.01214
    • " MCM "
      • Decimal number: 1900, Errors , Time 0.01254
    • "MCM"
      • Decimal number: 1900, Errors , Time 0.01296
  • (2013)
    • "MMXIII"
      • Decimal number: 2013, Errors , Time 0.01338
  • (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.01414
    • "VV"
      • Decimal number: 5, Errors Roman numeral usage errors: V cannot be with another V, suggestion: X? - roman numeral 2, char 2, Time 0.01456
    • "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.01496
    • "LC"
      • Decimal number: 50, Errors Roman numeral usage errors: C cannot follow L (Cannot subtract from 50) - roman numeral 2, char 2, Time 0.01536
    • "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.01582
    • "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.01636

Default display

[edit]

mode=2

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