AMORLINC

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

Description

Returns the prorated linear depreciation of an asset for each accounting period..

Parameters

arg1anydefault: null

Is the cost of the asset.

arg2anydefault: null

Is the date the asset is purchased.

arg3anydefault: null

Is the date of the end of the first period.

arg4anydefault: null

Is the salvage value at the end of life of the asset..

arg5anydefault: null

Is the period.

arg6anydefault: null

Is the rate of depreciation.

arg7anydefault: null

Year_basis : 0 for year of 360 days, 1 for actual, 3 for year of 365 days..

Returns

number | string | boolean

Try It

var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.AMORLINC(3500, "1/1/2018", "3/1/2018", 500, 1, 0.25, 1));

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).