I have a byte array: [93, 156, 244, 63]
I want to convert it to a floating point number, it should be ~9.8.
How exactly would I go about doing this in JS? I am rusty when it comes to bitwise operations.
Thanks in advance.
edit: The array should be [92,209,28,65]
[93, 156, 244, 63]is9.8?9.8would correspond to[ 205, 204, 28, 65 ](bytes of a 32-bit float)