Revision 1 posted to Bentley Map - Wiki by Inga Morozoff on 12/1/2017 6:57:38 PM
The Geospatial Administrator provides the ability to round up or down numbers used in PBA. For example, diameters might be stored with four decimals, but you might want to annotate with two decimals.
To do that, you can make use of the built in XFM.Round evaluator expression to round off values defined as double data type with the following syntax: XFM.Round(double value, decimal places)
For example: [XFM.Round([Diameter],2)] will round the value 25.3678 to 25.37 as shown in the graphic above.
Note that the entire statement is encapsulated in square brackets.
XFM Round can be applied to PBA keys:
As well as in the Labeling dialog:
For more information, please refer to:
Diameter = [XFM.Round([Diameter],2)]