Provides a number converter for translating between regular integers and their equivalent extended roman numerals representation.
Converting to roman numerals:
String result = Romanizer.romanize(5); // --> "IV"
Converting from roman numerals:
int number = Romanizer.deromanize("IV"); // --> 5
You can download the jar and sources from the releases tab
Add it to a folder in your gradle project named "lib" and then specify it as a dependency like so:
repositories {
flatDir { dirs 'lib' }
}
...
dependencies {
compileOnly "com.sollace:Romanizer:Romanizer:1.0.2"
}