Advanced-excel-functions-advanced-excel-engineering-bin2oct-function
提供:Dev Guides
エンジニアリング-BIN2OCT関数
説明
BIN2OCT関数は、10進数を8進数に変換します。
構文
引数
Argument | Description | Required/Optional |
---|---|---|
number | The decimal integer you want to convert. If number is negative, places is ignored and DEC2OCT returns a 10-character (30-bit) octal number in which the most significant bit is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two’s-complement notation. | 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 |
ノート
- 数値←536,870,912または数値> 536,870,911の場合、DEC2OCTは#NUM!を返します。 エラー値。
- 数値が数値でない場合、DEC2OCTは#VALUE!を返します。 エラー値。
- DEC2OCTが複数のプレース文字を必要とする場合、#NUM!を返します。 エラー値
- placesが整数でない場合、切り捨てられます。
- placesが非数値の場合、DEC2OCTは#VALUE!を返します。 エラー値。
- placesが負の場合、DEC2OCTは#NUM!を返します。 エラー値。
適用範囲
Excel 2007、Excel 2010、Excel 2013、Excel 2016