I am reading data from the robot's sensor. it gives this data as a list:
data:[1.0014142543, 0.4142543254, 4.5432544179]
I'd like to convert it like this format:
data:[1.00, 0.41, 4.54]
I am running it with python2.
I think this post for one number.
any ideas or suggestions, it would be highly appreciated.