I've been trying to figure this seemingly simple problem out for two days and finally decided to post. Hope someone can help.
I simply want to input a decimal number and get the Binary NOT of that number back in decimal. I know I can use the DEC2BIN and BIN2DEC functions to convert but I can't seem to find a way to NOT the binary number. Any ideas??? Just to clarify I want to input say 5 and get back 250
5 > 00000101 > 11111010 > 250
I simply want to input a decimal number and get the Binary NOT of that number back in decimal. I know I can use the DEC2BIN and BIN2DEC functions to convert but I can't seem to find a way to NOT the binary number. Any ideas??? Just to clarify I want to input say 5 and get back 250
5 > 00000101 > 11111010 > 250