I have the following:
variable1
34.30338950876217
import numpy as np
np.round(variable1, decimals=2)
34.29999999999995
Why am I not getting the desired answer of 34.30?
I have the following:
variable1
34.30338950876217
import numpy as np
np.round(variable1, decimals=2)
34.29999999999995
Why am I not getting the desired answer of 34.30?