General
- Last UpdatedJan 19, 2015
- 1 minute read
|
Function |
Syntax |
Returns |
|---|---|---|
|
@ABS |
@ABS(value1) |
Absolute Value of value1 |
|
@CURRENTUSER |
@CURRENTUSER () |
The current user’s login name (or null, during validation in Procedure Builder). |
|
@EXP |
@EXP(value1) |
E raised to the power of value1 |
|
@GETVALUE |
@GETVALUE (Node,default) |
The value of the referenced NodeValue of the Tag name (e.g. "2"), or value of the node (e.g. "Running"). If the referenced Node has no value, the value specified for "default" (which is most often set as &NULL) is returned. |
|
@LN |
@LN(value1) |
Natural logarithm of value1 |
|
@LOG10 |
@LOG10(value1) |
Base 10 logarithm of value1 |
|
@MAX |
@MAX(value1, value2) |
The maximum greatest of two (value1 and value2) numbers, dates, or strings |
|
@MIN |
@MIN(value1, value2) |
The least of two (value1 and value2) numbers, dates, or strings |
|
@ROUND |
@ROUND(value1, x) |
Value1 rounded to x number of decimal places |
|
@ROUNDDOWN |
@ROUNDDOWN (value1) |
Value1 rounded down to the nearest whole number |
|
@ROUNDUP |
@ROUNDUP (value1) |
Value1, rounded up to the nearest whole number |
|
@SQRT |
@SQRT (value1) |
The square root of value1 |
The following functions are used as modifiers for the @GETVALUE function in order to direct it to the desired location.
|
Modifier |
Syntax |
Purpose |
|---|---|---|
|
@CURRENTNODE |
@CURRENTNODE () |
Refers to the current location, or "node" (be it a Task, Task Group, Condition or Decision) of the Procedure. |
|
@PARENTNODE |
@PARENTNODE (@CURRENTNODE) |
Refers to the immediate parent of the current location, or "node." This function can be stacked, e.g. @PARENTNODE(@PARENTNODE(CURRENTNODE())) |