I have a script that basically has an input point table, runs through a search cursor testing rows using an if statement. If the statement is true, I want to use those points to create a polyline. That part of the script is... [this is just a small section of it, but the script isn't the problem]. Basically this is just to show that I'm using the row.shape and the .getPart() to retrieve info from the table.
featureList = 
geom = row.shape
array1 = geom.getPart()
polyline = arcpy.Polyline(array)
My script runs fine, but I noticed if I zoom way in, my lines weren't exactly meeting my points. They were off anywhere from < 1 meter to about 10 meters. I then went back and looked at what the .getPart was retrieving and I noticed that it was adding significant digits onto the lat/long locations of the points. So where in my original table the longitude was -68.95, the .getPart would result in -68.9499999999999. Same with my latitude, the original value was 43.900002 and the .getPart would result in 43.900001526. I tried looking at the original point input table to see if perhaps there were more significant digits there that weren't being displayed in the table and also looked at the .dbf table that was used to create the original point table for the same thing, but it's not the case. I can't figure out why it is adding these significant digits and slightly changing the location. Has anyone else had this issue or know what could be causing this problem?
Thank you in advance for any help! This is driving me crazy!