Couldn’t find a way to convert a number to roman numerals, so I wrote a quick extension. Here people go.

[spoiler][code]Roman Numerals by William S Martin begins here.

To say (N - a number) as roman numerals:

let the numeral be an indexed text;

let X be N divided by 1000;

let Y be the remainder after dividing N by 1000;

let Z be the remainder after dividing N by 100;

let W be the remainder after dividing N by 10;

if X is greater than 0:

repeat with temp1 running from 1 to X:

now the numeral is “[numeral]M”;

if Y is greater than 99:

let C be Y divided by 100;

if C is:

– 1: now the numeral is “[numeral]C”;

– 2: now the numeral is “[numeral]CC”;

– 3: now the numeral is “[numeral]CCC”;

– 4: now the numeral is “[numeral]CD”;

– 5: now the numeral is “[numeral]D”;

– 6: now the numeral is “[numeral]DC”;

– 7: now the numeral is “[numeral]DCC”;

– 8: now the numeral is “[numeral]DCCC”;

– 9: now the numeral is “[numeral]CM”;

– otherwise: now the numeral is “[numeral]{hundreds place error}”;

if Z is greater than 9:

let D be Z divided by 10;

if D is:

– 1: now the numeral is “[numeral]X”;

– 2: now the numeral is “[numeral]XX”;

– 3: now the numeral is “[numeral]XXX”;

– 4: now the numeral is “[numeral]XL”;

– 5: now the numeral is “[numeral]L”;

– 6: now the numeral is “[numeral]LX”;

– 7: now the numeral is “[numeral]LXX”;

– 8: now the numeral is “[numeral]LXXX”;

– 9: now the numeral is “[numeral]XC”;

– otherwise: now the numeral is “[numeral]{tens place error}”;

if W is greater than 0:

if W is:

– 1: now the numeral is “[numeral]I”;

– 2: now the numeral is “[numeral]II”;

– 3: now the numeral is “[numeral]III”;

– 4: now the numeral is “[numeral]IV”;

– 5: now the numeral is “[numeral]V”;

– 6: now the numeral is “[numeral]VI”;

– 7: now the numeral is “[numeral]VII”;

– 8: now the numeral is “[numeral]VIII”;

– 9: now the numeral is “[numeral]IX”;

– otherwise: now the numeral is “[numeral]{ones place error}”;

say the numeral.

Roman Numerals ends here.

---- DOCUMENTATION ----

An extremely simple extension. Convert a number to a roman numeral. Doesn’t work on positive numbers, or at least it shouldn’t.

To convert a number, simply use the phrase “[A number] as roman numerals”

Example: * Romanize the Numbers! - An easy way to test the features of this extension.

*: “Romanize the Numbers”

```
Include Roman Numerals by William S Martin.
The Roman forum is a room. "This forum exists for a specific purpose: to convert unworthy arabic numbers to virtuous Roman ones. To begin the arduous task of converting the numbers of the universe, shout 'romanize' and then the number you wish to change."
Romanizing is an action applying to one number.
Understand "romanize [a number]" as romanizing.
Check romanizing:
if the number understood is less than 1:
say "Zero and negative numbers haven't been invented yet!" instead.
Carry out romanizing:
say "[the number understood as roman numerals]".[/code][/spoiler]
```