1
Answer

Length of binary number from Excel with C#

Hello,

In Excel, when I put a binary number like: 00101000 in cell A3 and when I retrieve this binary value with C#, I get a length of 10 characters when there are only 8 characters .

I do not understand why Excel does not send me the right length?

In Excel, I used a function LEN to get the length of 001010000 and it shows me a length of 10 characters.

Do you know why the length is wrong and how to solve it?

Thanks.

Answers (1)