I am looking for a way to add three 0's to the end of all entries in one column of data using an update cursor in python. For instance, if all the entries in the column of data have a value of 123456. I need to add python code that will return 123456000.
I was able to subtract out the the last three digits to process the information originally using this:
while row:
value = row.GetValue("LD_MCPI")[:-3].strip()
row.SetValue("LD_MCPI", value)
rows.updateRow(row)
row = rows.Next()
How can I modify the [:-3] section of the second line to yield the results I need?
Thanks for your time.
row?"123"+"000" == 123000.