Module talk:Sandbox/Squc/Roman
Appearance
1
todecimal
mode=0 Normal
- (1900)
- " M C M "
- 1900
- " MCM "
- 1900
- "MCM"
- 1900
- " M C M "
- (2013)
- "MMXIII"
- 1900
- "MMXIII"
- (test)
- .
- MCCXXXIV |V| LXVII DCCCXC
- .
- (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
- "XXXXX"
No errors
mode=1 Force no error
- (1900)
- " M C M "
- 1900
- " MCM "
- 1900
- "MCM"
- 1900
- " M C M "
- (2013)
- "MMXIII"
- 1900
- "MMXIII"
- (Errors)
- "XXXXX"
- 50
- "VV"
- 5
- "XM"
- 990
- "LC"
- 50
- "XXXL"
- 20
- "LCXXXXVV"
- 95
- "XXXXX"
Custom display
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.00958
- " MCM "
- Decimal number: 1900, Errors , Time 0.0099
- "MCM"
- Decimal number: 1900, Errors , Time 0.0102
- " M C M "
- (2013)
- "MMXIII"
- Decimal number: 2013, Errors , Time 0.01078
- "MMXIII"
- (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.01108
- "VV"
- Decimal number: 5, Errors Roman numeral usage errors: V cannot be with another V, suggestion: X? - roman numeral 2, char 2, Time 0.01138
- "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.0117
- "LC"
- Decimal number: 50, Errors Roman numeral usage errors: C cannot follow L (Cannot subtract from 50) - roman numeral 2, char 2, Time 0.012
- "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.0123
- "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.0126
- "XXXXX"
Default display
mode=2
- (2013)
- "MMXIII"
- [num]2013 [err] [time]0.0129
- "MMXIII"