CUMPRINC

function CUMPRINC(
  arg1: any = null,
  arg2: any = null,
  arg3: any = null,
  arg4: any = null,
  arg5: any = null,
  arg6: any = null,
): number | string | boolean

Description

Returns the cumulative principal paid on a loan between two periods.

Parameters

arg1anydefault: null

Is the interest rate.

arg2anydefault: null

Is the total number of payment periods.

arg3anydefault: null

Is the present value.

arg4anydefault: null

Is the first period in the calculation.

arg5anydefault: null

Is the last period in the calculation.

arg6anydefault: null

Is the timing of the payment.

Returns

number | string | boolean

Try It

var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.CUMPRINC(0.1/12, 2*12, 2000, 1, 24, 0));

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).