New in Formulas 2.0
The let()
function will allow you to assign a value to a variable, and then use that variable in the expression.
let(variable, value, expression)
variable.lets(value, expression)
Code language: JavaScript (javascript)
Note that the resulting variable can only be used between the brackets of the original lets()
function.