this is currently my code
byte[] bytes = { 0x42, 0x1c, 00, 00 };
float flt = BitConverter.ToSingle(bytes, 0);
now I know the floating point’s decimal value is 39.0 but no matter what I try or do whether it be convert.todecimal or just casting it. It displays as 0 I don’t know why it does this but I could really use help here. I don’t care about precision so you don’t have to worry about that.
Any and all help is appreciated.
revert the order of the byte array, then it works