A simple Alfred workflow for converting between roman numerals and arabic integers written in Python.
- Install alfred-roman-numerals workflow.
- All further updates are handled automatically.
In Alfred, type rn
and enter either your roman numeral or arabic integer. Selected result is copied to your clipboard.
The expression is being evaluated as you type it. If the expression cannot be evaluated, for example if you are using illegal characters, user will be notified about that.
The workflow doesn't support incorrectly written roman numerals, i.e. "IC"
, and will also notify user about this:
The workflow makes use of OneUpdater by vitorgalvao to focus on the implementation of the conversion between the number systems rather than code related to updating.