Statement: Action, Type: Initial
Subtract 100%
Format: Subtract integer % source-support-action dest-support-action
where
-
integer = any numeric variable
-
% = required constant symbol %
-
source-support-action = any one of the valid source supporting action identifier listed below:
-
dest-support-action = any one of the valid destination supporting action identifiers listed below:
Description
The Subtract 100% identifier reads the value from source-support-action, multiplies the value by the integer percent, then performs a subtraction to the existing value of dest-support-action.
Formula
The mathematical formula for this action statement is: dest-support-action = dest-support-action - ((source-support-action * integer) / 100)
Example
We have a 10 unit bet already placed on roulette layout Red. Now we wish to decrease the bet by 50%. The following example will perform this task.
RX Script | Copy Code |
---|---|
Subtract 50% of Red to Red |