title: How to convert a long to a fixed-length 16-bit binary string?
body: <p>Hi i want to convert a long integer to binary but the problem is i want a fixed 16 bit binary result after conversion like if i convert 2 to 16 bit binary it should give me 0000000000000010 as ans can anyone help me ?</p>