Calculating Values: Put Calculations Inside of Constraints
To calculate a value, put the calculation inside of a constraint instead of in an inline expression.
To calculate a value, put the calculation inside of a constraint, instead of in an inline expression.
For example, to calculate area, use this constraint:
Avoid this example, which calculates the area with an inline expression, and can impact performance: