BIN2OCT函数将十进制数转换为八进制。
DEC2OCT (number, [places])
Argument | 描述 | Required/Optional |
---|---|---|
number | 要转换的十进制整数。如果number为负数,则忽略位数,并且DEC2OCT返回10个字符(30位)的八进制数字,其中最高有效位是符号位。其余的29位是幅度位。负数使用二进制补码表示。 | Required |
places | The number of characters to use. If places is omitted, DEC2OCT uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros). | Optional |
If number < -536,870,912 or if number > 536,870,911, DEC2OCT returns the #NUM! Error value.
如果数字为非数字,则DEC2OCT返回#VALUE!错误值。
来源:LearnFk无涯教程网
如果DEC2OCT需要多个字符,则返回#NUM!误差值
如果places不是整数,则将其截断。
如果place是非数字的,则DEC2OCT返回#VALUE!错误值。
如果place为负数,则DEC2OCT返回#NUM!错误值。
Excel 2007,Excel 2010,Excel 2013,Excel 2016
这一章《JavaScript - BIN2OCT 函数》你学到了什么?在下面做个笔记吧!做站不易,你的分享是对我们最大的支持
如何将文件从表单添加到 Firebase 数据库? Vue js + Vuetify +...
在 Javascript 中,(动态)导入的 ES6-Module 实例的类型/类是什...