Edit

Share via


WorksheetFunction.Roman(Double, Object) Method

Definition

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 omittedClassic.
1More concise.
2More concise.
3More concise.
4Simplified.
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.

Applies to