@travishorn/financejs
    Preparing search index...

    Function syd

    • Calculates the sum-of-years' digits depreciation of an asset for a specified period.

      Remarks:

      • The calculation is `((cost - salvage) * (life - per + 1) * 2) / (life)(life
        • 1)`.

      Parameters

      • cost: number

        The initial cost of the asset.

      • salvage: number

        The value at the end of the depreciation (sometimes called the salvage value of the asset).

      • life: number

        The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).

      • per: number

        The period and must use the same units as life.

      Returns number

      the straight-line depreciation

      syd(30000, 7500, 10, 1); // 4090.91