I have this 32 bit value 2336227984 and i need to get the lowest 12 bits and convert from binary to a value. I also need to do the same thing with the highest 10 bits.
I have tried decbin() and I have tried pack/unpack … I have even tried additional functions like BCDEC2Bin/BCBin2Dec
I have been converting the value to binary, then taking the first 12 character, then converting it back from binary.
I have had no success. numbers are returned, but not the right numbers.
can you guys point me in the right direction?