WorksheetFunction.Roman(Double, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts an Arabic numeral to roman, as text.
public string Roman (double Arg1, object Arg2);
Public Function Roman (Arg1 As Double, Optional Arg2 As Object) As String
Parameters
- Arg1
- Double
Number - the Arabic numeral you want converted.
- Arg2
- Object
Form - 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.
Returns
Remarks
0 or omitted | Classic. |
1 | More concise. |
2 | More concise. |
3 | More concise. |
4 | Simplified. |
true | Classic. |
false | Simplified. |
If number is negative, the #VALUE! error value is returned.
If number is greater than 3999, the #VALUE! error value is returned.