跳到主要内容

NOMINAL

Returns the annual nominal interest rate.

Syntax

expression.NOMINAL(arg1, arg2);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
arg1RequiredApiRange | ApiName | numberThe effective interest rate of the security.
arg2RequiredApiRange | ApiName | numberThe number of compounding periods per year.

Returns

number

Example

let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
worksheet.GetRange("A1").SetValue(func.NOMINAL(0.7, 4));