Question about Calculation answer in my field data?

Discussion created by MLCouden on May 4, 2012
Latest reply on May 7, 2012 by Sycosys
I wrote this python program and it works, but I have a question about the answer it gave me in the field. The answers should have been in decimal points (.0014657). It only did whole numbers like 0, 1 and so on. How do I get the table to fill with decimal point answers? Program below :

import arcpy
>>> import os.path
>>> os.path.basename ("C:\Users\Michelle\Desktop\GIS\FA_Urbans.shp")
>>> arcpy.AddField_management ("FA_Urbans","POPSQMI","LONG","30")
<Result 'FA_Urbans'>
>>> arcpy.CalculateField_management ("FA_Urbans","POPSQMI","!SQMI! / !FID_1!","PYTHON")
<Result 'FA_Urbans'>