Hello,
I was wondering how I can convert from a binary expansion of numbers to a decimal form of a number. I have written code trying to utilize the function shift, but I am unsure what it does. I have searched online for quite sometime to figure it out. As a note, this is not homework, I have graduated with a meteorology degree and I want to be able to incorporate all the formulas I learned into one master program, but I cant figure out how to convert between these two. I want to be able to input 11 to get 3 (base 10). Thanks for your help!
I was wondering how I can convert from a binary expansion of numbers to a decimal form of a number. I have written code trying to utilize the function shift, but I am unsure what it does. I have searched online for quite sometime to figure it out. As a note, this is not homework, I have graduated with a meteorology degree and I want to be able to incorporate all the formulas I learned into one master program, but I cant figure out how to convert between these two. I want to be able to input 11 to get 3 (base 10). Thanks for your help!