跳到主要内容

BESSELK

Returns the modified Bessel function Kn(x).

Syntax

expression.BESSELK(arg1, arg2);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
arg1RequiredApiRange | ApiName | numberThe value at which to evaluate the function.
arg2RequiredApiRange | ApiName | numberThe order of the function.

Returns

number

Example

let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
worksheet.GetRange("A1").SetValue(func.BESSELK(1.5, 1));