QUOTIENT
function QUOTIENT(arg1: any = null, arg2: any = null): number | string | boolean
Description
Returns the integer portion of a division.
Parameters
- arg1
any
null Is the dividend.
- arg2
any
null Is the divisor.
Returns
number | string | boolean
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.QUOTIENT(1698, 30));