The expressions below show basic examples of expressions for Float and Integer attributes:
Expression | Description | Example Result |
=1+1/2 | Calculates the sum of 1 and 1/2 | 1,5 |
=(10<11)?1:2 | Evaluates the expression (10<11), and if it's true (as it is in this case) result in 1, otherwise 2 | 1 |
='Cost'*'Time' | Evaluates an expression based on two attributes in the same element | 2000 |
='Members!Developers!Cost'*'Time' | Evaluates an expression based on two attributes, one in the same element and one in another element in another module | 2000 |
=(2*'Members!Joe User!Cost'/3 + 'Members!Diana Documenter!Cost'/3)*'Time' | Evaluates an expression with parentheses based on two attributes in other elements in other modules | 1733,2 |