无涯教程-JavaScript - DB函数

这篇具有很好参考价值的文章主要介绍了无涯教程-JavaScript - DB函数。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

描述

DB函数使用固定余额递减法返回指定期间内资产的折旧。

语法

DB (cost, salvage, life, period, [month])

争论

Argument 描述 Required/Optional
Cost The initial cost of the asset. Required
Salvage The value at the end of the depreciation (sometimes called the salvage value of the asset). Required
Life The number of periods over which the asset is being depreciated (sometimes called the useful life of the asset). Required
Period

您要计算折旧的期间。

期间必须使用与生命相同的单位。

Required
Month

第一年的月数。

如果省略month,则假定为12。

Optional

Notes

  • 固定递减余额法以固定比率计算折旧。 DB使用以下公式计算期间的折旧-

    (成本-上一期间的总折旧)*费率

    哪里,

    费率= 1-((残废率/成本)^(1 /寿命)),四舍五入到小数点后三位

  • 第一个和最后一个期间的折旧是一种特殊情况。

  • 在第一阶段,DB使用此公式-

    费用*费率*月/12

  • 在最后一个期间,DB使用此公式-

    ((成本-上一期间的总折旧)*费率 * (12 - month))/12

  • If the specified cost or the specified salvage argument is < 0, DB returns #NUM! error value.

  • 如果指定寿命或指定周期参数≤0,则DB返回#NUM!。错误值。

  • If the specified month argument is ≤ 0 or is > 12, DB returns #NUM! error value.

  • If the specified period > life and the month argument is omitted, DB returns #NUM! error value.

  • If the specified period > life+1, DB returns #NUM! error value.

  • 如果任何指定的参数不是数值,则DB返回#VALUE!。错误值。

适用性

Excel 2007,Excel 2010,Excel 2013,Excel 2016

Example

JavaScript 中的 DB函数 - 无涯教程网无涯教程网提供描述DB函数使用固定余额递减法返回指定期间内资产的折旧。 语法 DB (cost, salvage, l...https://www.learnfk.com/javascript/advanced-excel-financial-db-function.html文章来源地址https://www.toymoban.com/news/detail-705893.html

到了这里,关于无涯教程-JavaScript - DB函数的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 无涯教程-JavaScript - IMCSCH函数

    IMCSCH函数以x + yi或x + yj文本格式返回复数的双曲余割。 复数的双曲余割定义为双曲正弦的倒数,即 csch(z)= 1 /出生(z) Argument 描述 Required/Optional Inumber A complex number for which you want the hyperbolic cosecant. Required Excel中的复数仅存储为文本。 当将格式为\\\" a + bi\\\"或\\\" a + bj\\\"的文本字符串提供

    2024年02月09日
    浏览(26)
  • 无涯教程-JavaScript - BESSELK函数

    BESSELK函数返回修改后的Bessel函数Kn(x),该函数等效于针对纯虚参判断的Bessel函数。 这些也称为双曲贝塞尔函数。 Argument 描述 Required/Optional X The value at which to evaluate the function. Required N The order of the function. If n is not an integer, it is truncated. Required 如果x为非数字,则BESSELK返回#VALUE!错

    2024年02月09日
    浏览(24)
  • 无涯教程-JavaScript - DAYS函数

    DAYS函数返回两个日期之间的天数。 Argument 描述 Required/Optional End_date Start_date and End_date are the two dates between which you want to know the number of days. Required Start_date Start_date and End_date are the two dates between which you want to know the number of days. Required Excel将日期存储为序列号,以便可以在计算中

    2024年02月10日
    浏览(25)
  • 无涯教程-JavaScript - TIME函数

    TIME函数返回特定时间的十进制数。如果在输入功能之前单元格格式为\\\"常规\\\",则输出格式为日期。 TIME返回的十进制数是一个介于0(零)到0.99988426之间的值,代表从0:00:00(12:00:00 AM)到23:59:59(11:59:59 P.M.)的时间。 Argument 描述 Required/Optional Hour 从0(零)到32767的数字表示小时。 大于23的任

    2024年02月09日
    浏览(26)
  • 无涯教程-JavaScript - IMPRODUCT函数

    IMPRODUCT函数以x + yi或x + yj文本格式返回1到255个复数的乘积。两个复数的乘积为- $$(A + BI)(C + DI)=(AC-BD)(A + B)1 $$ Argument 描述 Required/Optional Inumber1 1 to 255 complex numbers to multiply. Required [inumber2], … 1 to 255 complex numbers to multiply. Optional Excel中的复数仅存储为文本。 当将格式为\\\" a + bi\\\"或

    2024年02月09日
    浏览(29)
  • 无涯教程-JavaScript - IMDIV函数

    IMDIV函数以x + yi或x + yj文本格式返回两个复数的商。 $$IMDIV(z1,z2)= frac {(a + bi)} {(c + in)} = frac {{ac + bd)+(bc-ad)i} {c ^ 2 + d ^ 2 } $$ Argument 描述 Required/Optional Inumber1 The complex numerator or dividend. Required Inumber2 The complex denominator or divisor. Required Excel中的复数仅存储为文本。 当将格式为\\\" a

    2024年02月09日
    浏览(28)
  • 无涯教程-JavaScript - ROW函数

    ROW函数返回引用的行号。 Argument 描述 Required/Optional Reference 您想要其行号的单元格或单元格范围。 如果省略引用,则假定它是出现ROW函数的单元格的引用。 请参阅下面的注释。 Optional 如果引用是一个单元格范围,并且如果将ROW作为垂直数组输入,则ROW将引用的行号作为垂直数组

    2024年02月07日
    浏览(26)
  • 无涯教程-JavaScript - DELTA函数

    DELTA函数测试两个值是否相等。如果number1 = number2,则返回1;否则返回1。否则返回0。 您可以使用此功能来过滤一组值。如,通过合计几个DELTA函数,您可以计算相等对的计数。此功能也称为Kronecker Delta功能。 Argument 描述 Required/Optional number1 The first number. Required number2 第二个数字。

    2024年02月09日
    浏览(26)
  • 无涯教程-JavaScript - IMLOG2函数

    IMLOG2函数以x + yi或x + yj文本格式返回复数的以2为底的对数。可以从自然对数计算复数的以2为底的对数,如下所示- $$log_2(x + yi)=(log_2e)ln(x + yi)$$ Argument 描述 Required/Optional Inumber A complex number for which you want the base-2 logarithm. Required Excel中的复数仅存储为文本。 当将格式为\\\" a + bi\\\"或

    2024年02月09日
    浏览(29)
  • 无涯教程-Javascript - For...in循环语句

    for ... in 循环用于循环访问对象的属性,由于无涯教程尚未讨论 Objects 对象,您就会发现此循环非常有用。 “ for...in”循环的语法为: 在每次迭代中,将 object 对象中的一个属性分配给 variablename 变量,此循环一直进行到对象的所有属性。 请尝试以下示例来实现\\\" for-in\\\"循环,它

    2024年02月16日
    浏览(27)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包