Converting from byte to integer in arduino

Please post a full sketch that illustrates what you are doing and puts the questions in context

The easier you make it to read and copy the code the more likely it is that you will get help

Please follow the advice given in the link below when posting code , use code tags and post the code here