The following list of operators are specific for integer expressions
Syntax |
Remark |
Example |
expr_intg ! |
Evaluates factorial of integer expression expr_intg |
5! = 5 * 4 * 3 * 2 * 1 |
| expr_intg | |
Absolute value of an integer expression |
| -5 | = 5 |
[ expr_intg1 | expr_intg2 ] |
Permutation operator |
[ 5 | 3 ] = 60 |
[ expr_intg1 : expr_intg2 ] |
Combination operator |
[ 5 : 3 ] = 10 |
( expr_intg1 | expr_intg2 ) |
( 27 | 6 ) = 3 |
|
( expr_intg1 : expr_intg2 ) |
( 27 : 6 ) = 54 |
Where expr_intg, expr_intg1, and expr_intg2 are any valid integer expressions.
Download and open sample.