AttributeRounder
Rounds off attributes to the specified number of decimal places.
输入端口
The feature type that contains the attributes you want to round.
Output Ports
All processed features are output through this port.
Parameters
选择源属性到圆形。
Enter a number or take the value of a feature attribute by selecting the attribute name from the pull-down list.
If the decimal places value is a negative integer then the integral part of the number will be rounded. For example, if the number is12345.1234and the decimal places value is -2, then the rounded value will be12300.0.
如果是圆形的is a decimal value, and the decimal places value is not 0, then the rounded number will be a decimal value, possibly ending with.0. When the decimal places value is 0, the rounded number will always be an integer.
此参数控制如何进行舍入。
- nearest: the number is rounded up or down to nearest value
- up: the number will always be rounded up
- down: the number will always be rounded down
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options.
Transformer Categories
Search FME Knowledge Center
Search for samples and information about this transformer on theFME Knowledge Center.