The roman numerals are M:1000, D:500, C:100, L:50, X:10, V:5 and I:1.

You make a roman numeral by writing the letters in descending order, adding the values.

If a Letter with a lower value is placed in front of a letter with a higher value, the lower value is subtracted

Example: 24 = XXIV : 10 + 10 - 1 + 5

Interesting numbers to try:

1444

1666

1888

Code: Select all

```
00 { 181-Byte Prgm }
01▸LBL "ROMAN"
02 STO 00
03 CLA
04 AIP
05 ├" = "
06 1000.77
07 XEQ 00
08 900.6777
09 XEQ 00
10 500.68
11 XEQ 00
12 400.6768
13 XEQ 00
14 100.67
15 XEQ 00
16 90.8867
17 XEQ 00
18 50.76
19 XEQ 00
20 40.8876
21 XEQ 00
22 10.88
23 XEQ 00
24 9.7388
25 XEQ 00
26 5.86
27 XEQ 00
28 4.7386
29 XEQ 00
30 1.73
31 XEQ 00
32 CLST
33 AVIEW
34 RTN
35▸LBL 00
36 ENTER
37 IP
38 STO 01
39 X<>Y
40 FP
41 STO 02
42▸LBL 01
43 RCL 00
44 RCL 01
45 X>Y?
46 RTN
47 STO- 00
48 RCL 02
49▸LBL 02
50 100
51 ×
52 XTOA
53 FP
54 X≠0?
55 GTO 02
56 GTO 01
57 END
```