The crown jewel of my "shitty programming" screenshots, taken out of production code where I work Source: www.reddit.com

Should have used if's

- Findus11

Site Comments (2)

Please Signin or Signup to add a comment


0

August 17, 2017, 6:36 pm

hekkaryk-kcalb wrote:

In c#, if output must be byte: decEquivalent[i] = (byte)Convert.ToInt32(binaryDataArray[i], 2);

1

June 23, 2017, 2:08 pm

piotr-frankowski wrote:

Ummm... what happened to parseInt(binary, 2); ? :D