Class RomanNumerals
java.lang.Object
studio.magemonkey.fabled.enchants.util.RomanNumerals
FabledEnchants © 2026 VoidEdge
util.studio.magemonkey.fabled.enchants.RomanNumerals
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intfromNumerals(String romanNumeral) Parses a Roman Numeral string into an integerstatic StringtoNumerals(int value) Gets the Roman Numeral string representing the given value
-
Constructor Details
-
RomanNumerals
public RomanNumerals()
-
-
Method Details
-
toNumerals
Gets the Roman Numeral string representing the given value- Parameters:
value- value to be converted- Returns:
- Roman Numeral String
-
fromNumerals
Parses a Roman Numeral string into an integer- Parameters:
romanNumeral- Roman Numeral string to parse- Returns:
- integer value (0 if invalid string)
-