I have a np array freq_vector
filled with floating numbers. For example freq_vector[0][0]
is 200.00000000000003
I want to limit it to 4 decimals, then convert it to string for other usage.
When I do round(freq_vector[0][0], 4)
, the result is 200.0
, rather than 200.0000
How can I get 200.0000
?