Skip to main content

hi,

 

how to round values, for example: 5.1 = 6, 7.8 = 8 and so on...

 

Thank´s

Use an AttributeRounder, with parameters Decimal Places: 0, Round-off Direction: Up.

 AttributeRounder


Thank´s


You could also use the following function embedded into e.g. an AttributeManager:

@ceil(@Value(my_attribute_to_round_up))

@ceil() is documented here: 

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/!Transformer_Parameters/math_functions.htm


Reply