This is currently my code
byte[] bytes = { 0x42, 0x1c, 00, 00 }; float flt = BitConverter.ToSingle(bytes, 0);
now I know that the decimal value of the floating point is 39.0, but no matter what I try to do, be it a conversion. identical or just casting it. It displays as 0, I donβt know why it does it, but I could really use the help here. I don't care about accuracy, so you donβt need to worry about that.
Any help is appreciated.
source share