[Request?] Min and Max in Formulas

Hello again! haha

I need to perform a conditional calculation in which I want to add 1 to the highest value (a number for ordering, for example), but Formulas does not have this expression created.

maxandmin

I imagine that in the image I attached there would be a formula like max() or min() for us to use in various ways.

I haven’t found another formula that offers this option, but here’s my request for it to be created by the development team (if possible)!

I can’t forget to mention the team’s great work with WeWeb! Congratulations to all of you!

you can simply use Math.min(value1, value2) or Math.max

1 Like

Great!

But I also think that putting it as an option improves the experience of those who know little or helps with learning…

Another idea that might be interesting is to add a wider range of mathematical functions as a plugin (just like they did with Date “Dayjs”).

Anyway, thanks for the quick response!

1 Like