I would like to make a function that has the input of a datatype 'decimal' for example '4.1356'. The output of this action should than be 5. (The decimal value need to be rounded up, no matter what).

So if the decimal is 4.01 it should become 5, if it's already exactly a whole number it should be just displayed normally (4 needs to stay 4). If its 0.5 it should become 1. Etc.

Does anyone have an idea on how to do this? (Reactive app)

Hi all,

I would like to make a function that has the input of a datatype 'decimal' for example '4.1356'. The output of this action should than be 5. (The decimal value need to be rounded up, no matter what).

So if the decimal is 4.01 it should become 5, if it's already exactly a whole number it should be just displayed normally (4 needs to stay 4). If its 0.5 it should become 1. Etc.

Does anyone have an idea on how to do this? (Reactive app)

Kind regards,

Bash nie