Excel中DOLLAR函数的语法和用法
时间:2023-12-15 09:12:18
本文介绍Microsoft Excel中DOLLAR函数的语法和用法。
DOLLAR函数适用于:Excel2003、Excel2007、Excel2010、Excel2013、Excel2016。
函数用途
DOLLAR函数的主要作用是将小数四舍五入到指定的位数并转换成文本,最后加上美元($)符号。
函数语法
DOLLAR(number, [decimals])
DOLLAR(数字或单元格的引用, [小数点右边的位数])
DOLLAR(number, [decimals])
DOLLAR(数字或单元格的引用, [小数点右边的位数])
参数说明
number
必输项。
1、可以是数字
2、可以是单元格的引用
decimals
可选项,小数点右边的位数。
1、可以省略,省略的话默认是2
2、如果 decimals 为负数,则 number 从小数点往左按相应位数四舍五入
函数示例
DOLLAR示例1:decimals是负数
DOLLAR(354.628,-2)
函数运算结果
$400
DOLLAR示例2:decimals是正数
DOLLAR(354.628,2)
函数运算结果
$354.63
DOLLAR示例3:省略decimals
DOLLAR(354.628)
函数运算结果
$354.63
以下是Excel中使用DOLLAR函数效果截图
标签:DOLLAR函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
雷电模拟器cpu设置几核不卡?雷电模拟器设置几核好?
2022-05-18 06:09:58
![](https://img.aspxhome.com/file/2023/7/a327509_0s.jpg)
怎么设置word背景
2023-02-15 05:26:56
![](https://img.aspxhome.com/file/2023/8/33838_0s.png)
win10系统光驱不见了无法显示该怎么办呢?
2023-09-22 11:40:46
![](https://img.aspxhome.com/file/2023/28/a245470_0s.jpg)
为什么一键重装后键盘鼠标不亮?一键重装系统后鼠标键盘不亮解决方法
2023-09-29 09:06:48
![](https://img.aspxhome.com/file/2023/6/a321411_0s.png)
360浏览器设置默认搜索引擎教程
2023-07-13 10:39:45
![](https://img.aspxhome.com/file/2023/30/a265303_0s.jpg)
神奇浏览器如何屏蔽广告 神奇浏览器屏蔽广告教程
2022-03-03 03:48:46
![](https://img.aspxhome.com/file/2023/8/a339114_0s.jpg)
2022版WPS免费会员领取攻略,让你的WPS更好用
2022-10-16 15:25:14
![](https://img.aspxhome.com/file/2023/5/a184285_0s.jpg)
Windows 10 快速预览版19619.1000更新(附修复内容)
2022-05-18 09:39:59
![](https://img.aspxhome.com/file/2023/28/a240865_0s.jpg)
借助石大师装机工具电脑怎么重装系统?
2022-09-16 10:33:22
![](https://img.aspxhome.com/file/2023/1/a274795_0s.png)
word里怎么画线 几种在Word里画线方法
2022-08-02 13:38:17
![](https://img.aspxhome.com/file/2023/4/29534_0s.jpg)
使自己的ip相关信息快速显示
2023-04-29 05:15:23
![](https://img.aspxhome.com/file/2023/29/a259827_0s.jpg)
win10应用商店找不到了怎么办 win10应用商店恢复教程
2022-11-05 08:54:21
![](https://img.aspxhome.com/file/2023/28/a239300_0s.jpg)
PPT如何修改自定义动画
2023-02-28 12:23:36
![](https://img.aspxhome.com/file/2023/10/a352199_0s.jpg)
api-ms-win-core-path-l1-1-0.dll 是什么?api-ms-win-core-path-l1-1-0.dll 丢失
2023-04-12 12:11:32
![](https://img.aspxhome.com/file/2023/1/a272506_0s.png)
系统之家电脑重装系统一键安装教程
2022-09-04 19:25:18
![](https://img.aspxhome.com/file/2023/1/a272073_0s.png)
Win10专业版没有应用商店怎么办?如何重装win10商店?
2022-04-13 12:44:07
![](https://img.aspxhome.com/file/2023/26/a223578_0s.png)
excel的数据分析功能的使用方法步骤
2023-12-16 04:38:28
Win10垃圾广告如何清除?Win10垃圾广告清除方法
2023-11-09 09:36:01
![](https://img.aspxhome.com/file/2023/5/52585_0s.png)
excel中增加行或列的教程
2023-11-10 20:22:10
Mac上几款好用的蓝牙设备
2023-05-07 17:28:47
![](https://img.aspxhome.com/file/2023/0/a210120_0s.jpeg)