当前位置: 首页 > news >正文

无涯教程-JavaScript - DB函数

描述

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

语法

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

争论

Argument描述Required/Optional
CostThe initial cost of the asset.Required
SalvageThe value at the end of the depreciation (sometimes called the salvage value of the asset).Required
LifeThe 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

DB Function

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

http://www.lryc.cn/news/164952.html

相关文章:

  • 2023年财务顾问行业研究报告
  • 2023SICTF ROUND2 baby_heap
  • buuctf crypto 【密码学的心声】解题记录
  • 论文阅读 (100):Simple Black-box Adversarial Attacks (2019ICML)
  • 41 个下载免费 3D 模型的最佳网站
  • SpringMVC之JSR303和拦截器
  • 通过rabbitmq生成延时消息,并生成rabbitmq镜像
  • 结构型模式-外观模式
  • vue三个点…运算符时报错 Syntax Error: Unexpected token
  • C# wpf 实现桌面放大镜
  • Mybatis中的#{}和${}的区别
  • 选择(使用)数据库
  • GFS分布式文件系统
  • 虚函数、纯虚函数、多态
  • QGIS学习3 - 安装与管理插件
  • LeetCode377. 组合总和 Ⅳ
  • QT将数据写入文件,日志记录
  • vue2与vue3的使用区别与组件通信
  • 亚信科技与中国信通院达成全方位、跨领域战略合作
  • 华为Linux系统开发工程师面试
  • Qt利用QTime实现sleep效果分时调用串口下发报文解决串口下发给下位机后产生的粘包问题
  • 人工智能:神经细胞模型到神经网络模型
  • Redisson分布式锁实战
  • JavaScript中循环遍历数组、跳出循环和继续循环
  • Java——》Synchronized和Lock区别
  • JDK20 + SpringBoot 3.1.0 + JdbcTemplate 使用
  • CTFhub_SSRF靶场教程
  • 【华为OD机试】单词接龙【2023 B卷|100分】
  • 如何优雅的实现无侵入性参数校验之spring-boot-starter-validation
  • 企业架构LNMP学习笔记27