ROMAN
function ROMAN(arg1: number = null, arg2: number = null): number | string | boolean
Description
Converts an Arabic numeral to Roman, as text.
Parameters
- arg1
number
null Is the Arabic numeral you want to convert.
- arg2
number
null Is the number specifying the type of Roman numeral you want..
Returns
number | string | boolean
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.ROMAN(1250, 4));