public class Roman extends Fixed2ArgFunction
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
|Constructor and Description|
|Modifier and Type||Method and Description|
Use conversion rule to factor some parts and make them more concise
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE, ValueEval formVE)
public java.lang.String makeConcise(java.lang.String input, int form)
input- the input string
form- the level of conciseness [0..4] with 4 being most concise and simplified
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.