05-21-2020 05:08 PM
I have a byte array of binary numbers that I want to combine and get their decimal representation. For example the U8 subarray 3 0 1 1 would like to convert it to decimal 3.
Solved! Go to Solution.
05-21-2020 05:26 PM
Use a >0 function to convert the array of 0's and 1's to an array of booleans.
Use Boolean Array to number to get the number.
You may need to do some array manipulation (reverse order, make sure it is 8 elements), to make sure the array converts properly.
I don't know why you say "Byte array to string with spaces in between" in your subject, because the problem you put in the message doesn't have a string and doesn't have spaces.