Roman(Value: Integer; Form: Integer): String;
Value. An integer number that must be transformed.
Form. A number that sets required format of Roman number.
The Roman method transforms an Arabic number to a Roman number in text format.
Value of the Value parameter must be in the range [1;3999].
To execute the example, add a link to the MathFin system assembly.
Sub UserProc;
Var
r: String;
Begin
r := Math.Roman(9,1);
Debug.WriteLine(r);
End Sub UserProc;
After executing the example the console window displays the transformation result.
See also: