AnsweredAssumed Answered

Conversion from CSV to DBF altering data...

Question asked by Drivium on Feb 4, 2016
Latest reply on Feb 4, 2016 by xander_bakker

So, I successfully converted my .csv to a .dbf with this script:

 

env.workspace = r"c:\Output"

 

inTable = r"c:\Output\test.csv"
outLocation = r"c:\Output"
outTable = "test.dbf"

 

arcpy.TableToTable_conversion(inTable, outLocation, outTable)

 

 

The problem is, in the resulting .dbf file, its adding a decimal with trailing zeroes to the value:

750050

becomes

750050.00000000000

 

How can I avoid this?

Outcomes