Roman numbers transformation

I have a file with Roman numbers, e.g. IV, V, VI, VII, …

Is there a Transformation to get them arabic numbers? I didn’t see anything. There are not so many different values, so as a workaround I can work with replace, but …

Hi,

You can achieve it using JavaScript transform.

image

Here is the site for information on the conversion.

Transform file.
RomanToDecimal.transform (2.4 KB)

4 Likes

I wondered when somebody would ask for this. ;0)

@Anonymous has a good solution.

It wouldn’t be that hard to add to Num Base. The question would be how to keep the user interface simple. You can have a special value for a ‘spin box’ control. But we are already using that for ‘Guess’ in Base from.