XLL+ Class Library

CXlFuncs::Roman

Converts an arabic numeral to roman, as text

[C++]
static int Roman(
   CString& roman,
   long number,
   unsigned short form = 0
);

Parameters

roman

A reference to a string that will contain the requested data if the macro succeeds.

number

Number is the Arabic numeral you want converted.

form

Form is a number specifying the type of roman numeral you want.

Return value

Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlFuncs Class | CXlFuncs Methods