I am trying to convert a list of floating point number to bytearray and convert it back to original list. My list looks like this: [-0.055999, -0.054000, -0.049, -0.040999, -0.037000]
I am trying to use bytearray(list) but only accepts integers.
Any help is appreciated.