gil elgrably

gil elgrably

  • NA
  • 14
  • 13.1k

Help with C # conversions

Apr 10 2012 5:59 AM

Hello all,

I have a
 variable of type Byte e.g. with value 0x3d.

What I need is to convert the upper half  Byte  (value 3) to a variable of type String with value "3" and in the same way convert the lower half  Byte (value d) to another variable of type String with value "d".

Can anyone help me (by code in C #) that do that?

(By the way, what I was able to do so far is to separate the given Byte into 2 new Bytes, the first with value 0x03 and the second with value 0x0d but here I got stuck.)

Thank you!

Gil.

Answers (2)