Sunny_Kumar
asked on
Convert a byte to an Int
Hi all,
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;
Thanks,
Sunny
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;
Thanks,
Sunny
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER