From Bright Pattern Documentation
(Created new topic from branched topic Documentation:ServicePattern:scenario-builder-reference-guide:IntegerExpressions:5.1) |
(Updated via BpDeleteTranslateTags script) |
||
Line 1: | Line 1: | ||
− | + | = Integer Expressions= | |
Some helpful information on using integer expressions in the Scenario Builder application is given as follows. | Some helpful information on using integer expressions in the Scenario Builder application is given as follows. | ||
Line 13: | Line 13: | ||
<center>[[scenario-builder-reference-guide/StringExpressions|< Previous]] | [[scenario-builder-reference-guide/FloatingPointExpressions|Next >]]</center> | <center>[[scenario-builder-reference-guide/StringExpressions|< Previous]] | [[scenario-builder-reference-guide/FloatingPointExpressions|Next >]]</center> | ||
− |
Latest revision as of 04:32, 29 May 2024
Integer Expressions
Some helpful information on using integer expressions in the Scenario Builder application is given as follows.
- Numbers can have the unary minus operator (e.g., -2).
- The four arithmetic operations and parentheses, including nested ones, are supported (e.g., (2+3)*((7-1)/2+1)).
- Division by zero produces error in the log; the operation result is undefined.
- Strings cannot be mixed in one expression with numbers (e.g., =2 + “string” is invalid).