Syntax:
Roman (number,form)
Converts an arabic numeral to roman, as text.
Number Required. The Arabic numeral you want converted.
Form Optional. A number specifying the type of roman numeral you want. The roman numeral style ranges from Classic to Simplified, becoming more concise as the value of form increases.
Return_type a roman numeral, as text
| Modifier and Type | Field and Description |
|---|---|
| private static final String[][] | |
| private static final String[] | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValueEval | evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE, ValueEval formVE)
Implements org. |
| private String | |
| public String | makeConcise(final String
the input string input, final int the level of conciseness [0..4] with 4 being most concise and simplified form)Use conversion rule to factor some parts and make them more concise |
| REPLACEMENTS | back to summary |
|---|---|
| private static final String[][] REPLACEMENTS | |
| ROMAN | back to summary |
|---|---|
| private static final String[] ROMAN | |
| VALUES | back to summary |
|---|---|
| private static final int[] VALUES | |
| Roman | back to summary |
|---|---|
| public Roman() | |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE, ValueEval formVE) Implements org. Doc from org. see
| |
| integerToRoman | back to summary |
|---|---|
| private String integerToRoman(int number) Classic conversion.
| |
| makeConcise | back to summary |
|---|---|
| public String makeConcise(final String input, final int form) Use conversion rule to factor some parts and make them more concise
| |