TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

T_DIST_2T

T_DIST_2T(arg1, arg2) → { number }

Returns the two-tailed Student's t-distribution.

Parameters:

Name Type Description
arg1 number

The numeric value at which to evaluate the distribution.

arg2 number

An integer indicating the number of degrees of freedom that characterize the distribution.

Returns:

Type
number

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.T_DIST_2T(1.5, 10));
builder.SaveFile("xlsx", "T_DIST_2T.xlsx");
builder.CloseFile();

Resulting document