hi,
how to round values, for example: 5.1 = 6, 7.8 = 8 and so on...
Thank´s
Best answer by geomancer
View originalhi,
how to round values, for example: 5.1 = 6, 7.8 = 8 and so on...
Thank´s
Best answer by geomancer
View originalUse an AttributeRounder, with parameters Decimal Places: 0, Round-off Direction: Up.
You could also use the following function embedded into e.g. an AttributeManager:
@ceil(@Value(my_attribute_to_round_up))
@ceil() is documented here:
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.