Statement: Action, Type: Initial
Divide
Format: Divide integer dest-support-action
where
-
integer = any numeric variable
-
dest-support-action = any one of the valid destination supporting action identifiers listed below:
Description
The Divide identifier reads the integer and performs a straight division to the existing value of dest-support-action. If the dest-support-action is a roulette layout and the results is less than 0, then no bet will be place. If the results contains a decimal number, the system will round up to the nearest whole number. If the integer value is 0, the division operation will not be performed.
Formula
The mathematical formula for this action statement is: dest-support-action = dest-support-action / integer
Example
We have a 50 unit bet already placed on roulette layout Red. We wish to reduce this amount by 50% using the Divide action statement. The following example will perform this task.
RX Script | Copy Code |
---|---|
Divide 2 to Red |