I got a field A which is double, but it only has 6 decimal points. I want to turn the field type to float
so i did the following
using arcpy.management.AddField to create a field B with float type
use arcpy.management.CalculateField to copy the value from field A to field B
but the problem is after this conversion, I use arcpy.SearchCursor to retrieve the value of field A and B and check if they are the same, it turns out field B value's decimal point is more than field A
fieldA : [0.046486, -0.466769, 0.562891, 0.783896, -0.837999, -1.58879, 2.39555, 1.38319, 1.93933, 1.48517, 1.73189, 0.723564, 0.414805, -0.014135, ...]
fieldB: [0.04648600146174431, -0.4667690098285675, 0.5628910064697266, 0.7838960289955139, -0.8379989862442017, -1.5887900590896606, 2.395550012588501, 1.3831900358200073, 1.939329981803894, 1.4851700067520142, 1.7318899631500244, 0.7235640287399292, 0.41480499505996704, -0.014135000295937061, ...]
but this only happens if I inspect the field B value in python, in ArcGISPro, they are the same in the table
how may I make should that they will be the same even in Python? Thank you