GESTEP
function GESTEP(arg1: any = null, arg2: any = null): number | string | boolean
Description
Tests whether a number is greater than a threshold value.
Parameters
- arg1
any
null Is the value to test against step.
- arg2
any
null Is the threshold value.
Returns
number | string | boolean
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.GESTEP(-2, 2));