Edouard Durand

Edouard Durand

  • NA
  • 46
  • 18.2k

Length of binary number from Excel with C#

Jun 18 2020 8:19 PM


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?


Answers (1)