Jump to content

Roman Numeral Converter


Recommended Posts

Roman Numeral Converter

Convert between roman numerals and arabic integers

 

Installation

  1. To download, visit the latest release at GitHub.
  2. All further updates are handled automatically.

 

Description

This is a fairly simple workflow for converting between roman numerals and arabic integers. This has been made before by Tyler Eich (Packal link), but hasn't been updated since 2015 and stopped working on my computer during an Alfred or macOS update (can't remember which). But I had an use case for this, and therefore I made a new version written in Python for this simple task.

 

In Alfred, type rn and enter either your roman numeral or arabic integer. Selected result is copied to your clipboard. 

arabic_to_roman.png

roman_to_arabic.png

 

 

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. 

gibberish.png

 

Note

The workflow doesn't support incorrectly written roman numerals, i.e. "IC", and will also notify user about this:

invalid_roman.png

 

Credits

The workflow makes use of the following code to focus on the implementation of the conversion between the number systems rather than focusing on a lot of Alfred Workflow related stuff.

  1. OneUpdater to easily check for updates by vitorgalvao.
  2. Alfred Workflow Feedback XML Generation to easily add items by lrrfantasy.

 

 

Link to comment
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...