I have a column in a large attribute table. The values in this column are numeric value.
Example entries in this case would be:
1, 2.0512, 8.5744, 8.944
How can I add the word 'm' to the end of each entry so it'd look like:
1m, 2.0512m, 8.5744m, 8.944m
I don't want to use the technique of sorting them, then selecting them, then using field calculator to define them. I just want to know how to add text at the end of existing value, no matter what the existing value is.
str(!fieldname!) + 'm'
. The general idea is that you need to convert the numeric value to string and then concatenate with another string.to_string
rather than the Pythonstr
. But maybe it doesn't have an underscore, per the qgis documentation (look in conversions group) -- docs.qgis.org/2.8/en/docs/user_manual/working_with_vector/…