sim_round_up_status
sim_round_up_status—returns the highest status with a numerical value greater than or equal to a specified number.
The syntax for sim_round_up_status
is as follows:
sim_round_down_status($NUM,$STATUS);
$STATUS=sim_round_down_status($NUM);
sim_round_down_status arguments
Argument | Mode | Type | Description |
---|---|---|---|
| Input | INTEGER | Specifies the lowest possible numerical value for a returned status |
| Output | STRING | The highest status with a numerical value less than or equal to |
Use the sim_round_down_status
to return the highest status ($STATUS
) whose numerical value is not larger than $NUM
. If no such status exists, the highest status (UNAVAILABLE
) is returned.
Note
The sim_round_down_status
primitive fails when used outside of an impact status computation action.
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.