TRY NEW VERSION

ISODD

ISODD(arg1) → { number | string | boolean }

Returns TRUE if the number is odd.

Parameters:

Name Type Description
arg1 any

Is the value to test.

Returns:

Type
number | string | boolean

Example

Copy code
builder.CreateFile("xlsx");

const oWorksheet = Api.GetActiveSheet();

var oFunction = Api.GetWorksheetFunction();
var result = oFunction.ISODD("94");
oWorksheet.GetRange("C3").SetValue(result);

builder.SaveFile("xlsx", "ISODD.xlsx");
builder.CloseFile();

Resulting document