Class RomanNumbers
java.lang.Object
net.notcoded.codelib.util.numbers.RomanNumbers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringintToRoman(int number) Turns the number into a roman numeral, e.g.
-
Constructor Details
-
RomanNumbers
public RomanNumbers()
-
-
Method Details
-
intToRoman
Turns the number into a roman numeral, e.g. 4 -> IV.- Parameters:
number- The number that's going to get turned into a roman numeral.- Returns:
- A roman numeral as string.
-