How can I convert a long integer to binary? For example, I want the integer 725 to show up as 1011010101 in another field in the table. Each of the bits in the byte are representative of the state of a different piece of machinery.