| | | This function is only available if you have the Analysis ToolPak add-in installed. |
| | | If "number" contains more than 10 characters (10 bits), then #NUM! is returned. |
| | | If "number" contains 10 characters then the most significant bit (i.e. the first number) represents the sign bit. |
| | | If "number" < 0, then two's-complement notation is used to represent the number. |
| | | If "number" < 0, then "places" is ignored and a 10-character hexadecimal number is returned. |
| | | If "number" is not a valid binary number, then #NUM! is returned. |
| | | If "places" is less than the number of characters needed, then #NUM! is returned. |
| | | If "places" is left blank, the minimum number of characters necessary is used. |
| | | If "places" is not an integer, it is truncated. |
| | | If "places" is not numeric, then #VALUE! is returned. |
| | | If "places" < 0, then #NUM! is returned. |
| | | The "places" is useful for padding the return value with leading 0s. |