I was just wondering if anybody knows of a way to write an expression to make all my numeric values in my labels positive.
I want to do 1234 cal BC 23 cal AD for example, as a label.
My data is - 1234 (being BC) and 23 for AD.
any ideas?
|
I was just wondering if anybody knows of a way to write an expression to make all my numeric values in my labels positive. I want to do 1234 cal BC 23 cal AD for example, as a label. My data is - 1234 (being BC) and 23 for AD. any ideas? |
|||
|
|
On the 'Labels' page of the layer properties box (the one that opens when you double click a layer) you can use the Method drop down to define classes with different types of labels. Then you can pick the features that have negative values and format their labels to be positive, then set up a second class to do the non-negative ones. This tutorial is much more detailed and goes through the whole process of creating label classes. |
|||
|
|
|
Go to the Labels tab on Layer Properties, click Expression.... On the Label Expression dialog
.
Then draw the Labels. |
|||
|
|