Mtclimber03

Field Calculator Python Syntx (combining floating point and string)

Discussion created by Mtclimber03 on Oct 3, 2013
Latest reply on Oct 3, 2013 by rfairhur24
I'm not familiar with python and I have a basic question about simple field calculations in python rather than VB. This is needed because I have a model I am exporting to python for task scheduler. My model runs fine in ArcMap but when I run it as a python script it cannot complete the field calculation in VB expression form. Any help converting the following to a python expression would be appreciated

VB Expression to convert (field is stored as float):

[Prev_Total] & " boxes collected"

--------------------------------------
This is to be calculated in a string field.

Outcomes