- Picture and text skills
- Case
Convert octal number to hexadecimal number.
Grammar
OCT2HEX(number, [places])
OCT2HEX function syntax has the following parameters:
"Number" Required. The octal number to convert.
Number cannot contain more than 10 octal characters (30 bits).
The highest bit of Number is the sign bit. The remaining 29 bits are quantity bits.
Negative numbers are represented by two's complement notation.
Places Optional. The number of characters to use.
If places is omitted, OCT2HEX uses the minimum number of characters necessary.
Places can be used to prepend 0 (zero) to the returned value.
Description
If the parameter number is negative, function OCT2HEX will ignore places and return a 10-digit hexadecimal number.
If number is not a valid octal number, OCT2HEX returns the #NUM! error value.
If OCT2HEX requires more characters than places characters, the #NUM! error value is returned.
If places is not an integer, it will be truncated.
If places is non-numeric, OCT2HEX returns the #VALUE! error value.
If places is negative, OCT2HEX returns the #NUM! error value.
Articles are uploaded by users and are for non-commercial browsing only. Posted by: Lomu, please indicate the source: https://www.daogebangong.com/en/articles/detail/OCT2HEX-han-shu-ba-jin-zhi-zhuan-shi-liu-jin-zhi.html
评论列表(196条)
测试