I have a strange bug (?) using arcpy when I try to create a layer with a point inside the name. Let's consider I write:
N = 26.1 outLocation = "C:/Project/ArcGIS/MyLayers/" outputName = "SimpleName_"+str(N) geometry_type = "POINT" arcpy.CreateFeatureclass_management(outLocation, outputName, geometry_type)
The layer is created but it gets the name SimpleName_24 instead of SimpleName_24.1
Is it something that can be corrected?
I also tried
"SimpleName_"+str(N)[:2]+"."+str(N)[3:] but it didn't work.