The HEX2BIN function converts hexadecimal to binary

Converts hexadecimal numbers to binary numbers.

grammar

HEX2BIN(number,places)

Number Hexadecimal number to be converted. The number of bits of the parameter cannot be more than 10, the highest bit is the sign bit (the 40th binary bit from the right), and the rest

39 bits are numeric bits. Negative numbers are represented by the complement of binary numbers.

The number of characters to use for Places. If places is omitted, the function HEX2BIN is represented by the fewest characters that can represent the number. When required to return the number

places is especially useful when values are prepended to zero.

Instructions

■ If number is negative, HEX2BIN ignores places and returns a 10-bit binary number.

■ If the parameter number is negative, it cannot be less than FFFFFFFE00; If the parameter number is positive, it cannot be greater than 1FF.

■ If Number is not a valid hexadecimal number, HEX2BIN returns the #NUM! Error. .

■ If HEX2BIN requires more bits than places specifies, the #NUM! Error value is returned. .

■ If places is not an integer, round the truncation.

■ If places is not numeric, HEX2BIN returns the #VALUE! Error. .

■ If places is negative, HEX2BIN returns the #NUM! Error value .

I want to create a clean, concise and efficient office reference manual, in order to maintain a good reference experience, I did not add any third-party advertisements in my blog, of course, if you are willing, you can watch the following video, it can bring me some income, so that I can better maintain the server to provide higher quality service, thank you for your help and support.

You can choose any link below to watch my videos and I will earn some money to strengthen the site and resist DDOS attacks that may happen at any time, thank you for your support!
(Please note: Please do not maliciously click on links or video ads to increase invalid traffic, as this can result in lower or no revenue.)

Learn to consult the manual video

(Will be released in the later period with the consult the manual article, please pay attention.)

My Febspot video list (Learn after-school relaxation videos)

https://suu.us/sponsor

My Febspot video home page

https://www.febspot.com/leet4477/