跳到主要内容

T_DIST

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

Syntax

expression.T_DIST(arg1, arg2, arg3);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
arg1RequiredApiRangeApiNamenumber
arg2RequiredApiRangeApiNamenumber
arg3RequiredApiRangeApiNameboolean

Returns

number

Example

var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.T_DIST(1.5, 10, false);
oWorksheet.GetRange("B2").SetValue(ans);