Convert a byte to an Int
Posted on 2011-03-04
I'm having a small (I hope) problem.
Can someone tell me how to convert a byte to its int value?
I have a method from a 3rd party object which returns the LCD brightness value of its screen. Its a value between 0 and 100. The documentation shows that the return value is a single byte.
How do I convert this byte value to its integer value?
byte b = ti.LcdBrightness;