EVEN
function EVEN(arg1: number = null): number | string | boolean
Description
Rounds a positive number up and negative number down to the nearest even integer.
Parameters
- arg1
number
null Is the value to round.
Returns
number | string | boolean
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.EVEN(15.67));