I'm not finding much in the way of conversion functions.
As it turns out it occured to me that the main use of this number is to light an led that represents each bit, So if I could just convert this to a number I could send it to the Shift Register as is.