dipper.utils.romanplus module

Convert to and from Roman numerals This program is part of “Dive Into Python”, a free Python tutorial for experienced programmers. Visit http://diveintopython.org/ for the latest version.

This program is free software; you can redistribute it and/or modify it under the terms of the Python 2.1.1 license, available at http://www.python.org/2.1.1/license.html

Note: This has been modified to add optional characters after the initial roman numbers by nlw.

dipper.utils.romanplus.fromRoman(strng)

convert Roman numeral to integer

dipper.utils.romanplus.toRoman(num)

convert integer to Roman numeral