Calculation field: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 74: Line 74:
; if(,,): returns one value of a logical expression if TRUE (not equal to 0.0) and another if it is FALSE (equal to 0.0)<br/>For example, if(#{remaining} == 0, 'Done', 'Incomplete')
; if(,,): returns one value of a logical expression if TRUE (not equal to 0.0) and another if it is FALSE (equal to 0.0)<br/>For example, if(#{remaining} == 0, 'Done', 'Incomplete')


; switch(,,,): accepts an expression, result/Value pairs, and a default value, and determines the final result based on selecting among the paired results to identify the paired value (or else the default) to be used.<br/>For example, switch(#{fieldName}, 1, 'One', 2, 'Two', 'Many')
; switch(,,,): accepts an expression, result/Value pairs, and a default value, and determines the final result based on selecting among the paired results to identify the paired value (or else the default) to be used.<br/>For example, switch(#{count}, 1, 'One', 2, 'Two', 'Many')


== Link to Entry ==
== Link to Entry ==

Navigation menu